Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007785/0.0007785, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003481/0.003481, allocations: 149.6 kB / 24.68 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8259/0.8259, allocations: 173.4 MB / 201.2 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 319.7 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.593e-05, allocations: 9.594 kB / 319.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.005018/0.005044, allocations: 6.845 MB / 326.6 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.006915, allocations: 1.843 MB / 328.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002934/0.007209, allocations: 35.81 kB / 328.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.007501, allocations: 241.6 kB / 328.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004586/0.00796, allocations: 471.9 kB / 329.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.008452, allocations: 0.511 MB / 329.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009755/0.009427, allocations: 1.863 MB / 331.5 MB, free: 9.953 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004205/0.009848, allocations: 420.2 kB / 331.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005825/0.01043, allocations: 0.9902 MB / 332.9 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003905/0.01082, allocations: 0.5257 MB / 333.5 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.01095, allocations: 176 kB / 333.6 MB, free: 7.832 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.01108, allocations: 180 kB / 333.8 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.01124, allocations: 362.7 kB / 334.2 MB, free: 7.301 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002947/0.01153, allocations: 0.5377 MB / 334.7 MB, free: 6.762 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.01267, allocations: 2.091 MB / 336.8 MB, free: 4.664 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.01267, allocations: 0 / 336.8 MB, free: 4.664 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01267, allocations: 0 / 336.8 MB, free: 4.664 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.01268, allocations: 0 / 336.8 MB, free: 4.664 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.001762/0.01444, allocations: 1.744 MB / 338.5 MB, free: 2.883 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.01447, allocations: 8.922 kB / 338.5 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.01462, allocations: 164 kB / 338.7 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007268/0.01535, allocations: 0.6848 MB / 339.4 MB, free: 2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.641e-05/0.01539, allocations: 94.83 kB / 339.5 MB, free: 1.906 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.0155, allocations: 124.3 kB / 339.6 MB, free: 1.785 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.01696, allocations: 1.641 MB / 341.2 MB, free: 12 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.01698, allocations: 0 / 341.2 MB, free: 12 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-05/0.01706, allocations: 52.05 kB / 341.3 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.01707, allocations: 31.94 kB / 341.3 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.01844, allocations: 1.122 MB / 342.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003975/0.02242, allocations: 4.233 MB / 346.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.0237, allocations: 0.9993 MB / 347.7 MB, free: 9.359 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006087/0.02431, allocations: 486.4 kB / 348.1 MB, free: 8.883 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.02435, allocations: 12.66 kB / 348.2 MB, free: 8.871 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.02437, allocations: 47.16 kB / 348.2 MB, free: 8.816 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 1.854e-06/0.02437, allocations: 0 / 348.2 MB, free: 8.816 MB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.004083/0.02846, allocations: 2.461 MB / 350.7 MB, free: 6.328 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.02849, allocations: 89.7 kB / 350.8 MB, free: 6.223 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005768/0.02907, allocations: 0.7506 MB / 351.5 MB, free: 5.457 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.02911, allocations: 41.7 kB / 351.5 MB, free: 5.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.02936, allocations: 0.6131 MB / 352.2 MB, free: 4.789 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.0295, allocations: 285.5 kB / 352.4 MB, free: 4.508 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.02965, allocations: 170.6 kB / 352.6 MB, free: 4.336 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.02977, allocations: 402.7 kB / 353 MB, free: 3.934 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004919/0.03026, allocations: 365.8 kB / 353.4 MB, free: 3.574 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005773/0.03084, allocations: 0.5855 MB / 353.9 MB, free: 2.898 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.03189, allocations: 0.9443 MB / 354.9 MB, free: 1.867 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.0319, allocations: 4 kB / 354.9 MB, free: 1.863 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00162/0.03352, allocations: 1.346 MB / 356.2 MB, free: 0.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.03353, allocations: 8 kB / 356.2 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.03354, allocations: 8 kB / 356.3 MB, free: 496 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000403/0.03394, allocations: 238.6 kB / 356.5 MB, free: 248 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.03557, allocations: 0.8311 MB / 357.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00656/0.04213, allocations: 10.03 MB / 367.3 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.04248, allocations: 143.2 kB / 367.5 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.04252, allocations: 36 kB / 367.5 MB, free: 4.598 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (111): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002505/0.04277, allocations: 273.7 kB / 367.8 MB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.567e-05/0.04285, allocations: 95.38 kB / 367.9 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.548e-05/0.04294, allocations: 104.1 kB / 368 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.04294, allocations: 8 kB / 368 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.04295, allocations: 0 / 368 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.04295, allocations: 7.922 kB / 368 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/0.04549, allocations: 2.138 MB / 370.1 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.0455, allocations: 0 / 370.1 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.04576, allocations: 123.9 kB / 370.3 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006269/0.04639, allocations: 432.8 kB / 370.7 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.04641, allocations: 15.98 kB / 370.7 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006173/0.05259, allocations: 10.07 MB / 380.8 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.05259, allocations: 4.031 kB / 380.8 MB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/0.05501, allocations: 1.925 MB / 382.7 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.596e-05/0.05511, allocations: 111.2 kB / 382.8 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.05516, allocations: 16 kB / 382.8 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.0555, allocations: 107.8 kB / 382.9 MB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/0.05558, allocations: 68.41 kB / 383 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.05561, allocations: 24 kB / 383 MB, free: 4.352 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003757/0.05599, allocations: 0.499 MB / 383.5 MB, free: 3.859 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05599, allocations: 0 / 383.5 MB, free: 3.859 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007175/0.05671, allocations: 371.2 kB / 383.9 MB, free: 3.496 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * 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 (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,5), (1,5), (1,1), (1,7), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001321/0.05684, allocations: 123.9 kB / 384 MB, free: 3.363 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003491/0.06033, allocations: 1.956 MB / 386 MB, free: 1.363 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.06033, allocations: 0 / 386 MB, free: 1.363 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008742/0.06121, allocations: 1.137 MB / 387.1 MB, free: 156 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005868/0.06179, allocations: 193.1 kB / 387.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.06434, allocations: 2.27 MB / 389.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.06464, allocations: 492 kB / 390 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.06476, allocations: 60.5 kB / 390.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.06476, allocations: 0 / 390.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of Templates: time 0.0236/0.08836, allocations: 43.19 MB / 433.3 MB, free: 1.875 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.544719774276018]