Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 108.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 207.2 kB / 22.12 MB, free: 0.9297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 207.6 MB / 232.5 MB, free: 11.5 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 51.92 kB / 343 MB, free: 12.28 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2416, allocations: 49.12 MB / 392.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003435/0.245, allocations: 3.214 MB / 395.3 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.2464, allocations: 0.9917 MB / 396.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.2466, allocations: 8.281 kB / 396.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.2468, allocations: 65.12 kB / 396.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.2471, allocations: 125.5 kB / 396.5 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.2474, allocations: 147.6 kB / 396.7 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000437/0.2478, allocations: 494.6 kB / 397.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.248, allocations: 109.9 kB / 397.3 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.2482, allocations: 190.6 kB / 397.4 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.2484, allocations: 208 kB / 397.6 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.59e-05/0.2485, allocations: 39.62 kB / 397.7 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.2486, allocations: 71.8 kB / 397.7 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.444e-05/0.2487, allocations: 101.7 kB / 397.8 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.2488, allocations: 208.7 kB / 398.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004633/0.2493, allocations: 0.5005 MB / 398.6 MB, free: 4.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2493, allocations: 0 / 398.6 MB, free: 4.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2493, allocations: 1.062 kB / 398.6 MB, free: 4.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.2493, allocations: 4.703 kB / 398.6 MB, free: 4.582 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001192/0.2505, allocations: 0.75 MB / 399.3 MB, free: 4.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2506, allocations: 9.375 kB / 399.3 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.205e-05/0.2506, allocations: 8.938 kB / 399.3 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.915e-05/0.2506, allocations: 68.86 kB / 399.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.54e-05/0.2507, allocations: 47.88 kB / 399.4 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.2511, allocations: 303.7 kB / 399.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.2511, allocations: 30.59 kB / 399.8 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.86e-05/0.2512, allocations: 35.88 kB / 399.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006085/0.2518, allocations: 356.2 kB / 400.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.2518, allocations: 0 / 400.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.2518, allocations: 12.28 kB / 400.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.2518, allocations: 7.125 kB / 400.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004586/0.2523, allocations: 235.7 kB / 400.4 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.254, allocations: 1.171 MB / 401.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006104/0.2546, allocations: 266 kB / 401.8 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004895/0.2551, allocations: 203.6 kB / 402 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004775/0.2556, allocations: 1.114 MB / 403.1 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.2556, allocations: 40.88 kB / 403.2 MB, free: 1.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.643e-06/0.2556, allocations: 0 / 403.2 MB, free: 1.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001253/0.2568, allocations: 0.5284 MB / 403.7 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.2569, allocations: 80.61 kB / 403.8 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.2572, allocations: 336 kB / 404.1 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.2572, allocations: 40.55 kB / 404.2 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.943e-05/0.2573, allocations: 210.9 kB / 404.4 MB, free: 336 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.2574, allocations: 109.4 kB / 404.5 MB, free: 248 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.2575, allocations: 71.38 kB / 404.5 MB, free: 200 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2576, allocations: 352.8 kB / 404.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.2578, allocations: 102.7 kB / 405 MB, free: 15.83 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.2581, allocations: 192.8 kB / 405.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005006/0.2586, allocations: 281.8 kB / 405.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2586, allocations: 9.062 kB / 405.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008051/0.2594, allocations: 432.2 kB / 405.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2594, allocations: 7.078 kB / 405.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2594, allocations: 6.719 kB / 405.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002606/0.2597, allocations: 63.88 kB / 406 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.26, allocations: 78.42 kB / 406 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/0.262, allocations: 1.96 MB / 408 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.2623, allocations: 44.27 kB / 408 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.2623, allocations: 14.73 kB / 408 MB, free: 13.49 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001791/0.2625, allocations: 150 kB / 408.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.812e-05/0.2626, allocations: 36.8 kB / 408.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007546/0.2634, allocations: 329 kB / 408.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.2634, allocations: 6.719 kB / 408.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.2634, allocations: 0 / 408.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2634, allocations: 1.359 kB / 408.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005243/0.2639, allocations: 396.2 kB / 408.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2639, allocations: 0 / 408.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.2642, allocations: 56.5 kB / 409 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001993/0.2644, allocations: 63.19 kB / 409.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.2645, allocations: 8.219 kB / 409.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004567/0.2649, allocations: 0.6028 MB / 409.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2649, allocations: 0 / 409.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000928/0.2658, allocations: 0.5244 MB / 410.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.266, allocations: 130.6 kB / 410.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.266, allocations: 7.5 kB / 410.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.2663, allocations: 24.45 kB / 410.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.2663, allocations: 13.2 kB / 410.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.2664, allocations: 12.94 kB / 410.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002558/0.2666, allocations: 236.7 kB / 410.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2666, allocations: 0 / 410.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004615/0.2671, allocations: 119.2 kB / 410.7 MB, free: 11.7 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001412/0.2685, allocations: 1.095 MB / 411.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009278/0.2694, allocations: 404.1 kB / 412.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2694, allocations: 0 / 412.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000353/0.2698, allocations: 126.9 kB / 412.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.2702, allocations: 49.08 kB / 412.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/0.2754, allocations: 3.755 MB / 416.1 MB, free: 8.168 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.2759, allocations: 0.7912 MB / 416.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001527/0.276, allocations: 45.22 kB / 417 MB, free: 7.398 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.2762, allocations: 125.1 kB / 417.1 MB, free: 7.293 MB / 334.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2762, allocations: 0 / 417.1 MB, free: 7.293 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.307, allocations: 7.831 MB / 424.9 MB, free: 2.418 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.63, allocations: 8.547 kB / 424.9 MB, free: 2.41 MB / 334.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --stepSize=1.2e-06 --timeout=50 --tolerance=2e-07 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.885946497961413] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.q_fp1', 'opAmp.q_fr1', 'opAmp.q_fr2', 'opAmp.q_fr3', 'opAmp.v_in', 'opAmp.v_source', 'opAmp.x'] 12.783271275984589 12.796591095 12.544568703 Calling exit ...