Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001749/0.001749, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002468/0.002468, allocations: 165.3 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 177.1 MB / 204.7 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 57.28 kB / 325.6 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1157, allocations: 53.38 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009031/0.1247, allocations: 6.973 MB / 385.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004388/0.1291, allocations: 1.788 MB / 387.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.1305, allocations: 35.81 kB / 387.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.1315, allocations: 237.6 kB / 388 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002397/0.1339, allocations: 488.1 kB / 388.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.1352, allocations: 411.5 kB / 388.9 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003241/0.1385, allocations: 1.786 MB / 390.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009983/0.1395, allocations: 408.5 kB / 391 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.1407, allocations: 0.6616 MB / 391.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.1425, allocations: 0.6412 MB / 392.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005955/0.143, allocations: 180 kB / 392.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006317/0.1437, allocations: 180 kB / 392.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005133/0.1442, allocations: 362.7 kB / 393 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0014/0.1456, allocations: 0.6572 MB / 393.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003021/0.1486, allocations: 2.113 MB / 395.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.1486, allocations: 0 / 395.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.1486, allocations: 0 / 395.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.676e-05/0.1487, allocations: 0 / 395.8 MB, free: 14.51 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00496/0.1537, allocations: 1.693 MB / 397.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.1537, allocations: 12.03 kB / 397.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003107/0.154, allocations: 164 kB / 397.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.1554, allocations: 0.742 MB / 398.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-05/0.1555, allocations: 94.58 kB / 398.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/0.1557, allocations: 124 kB / 398.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002621/0.1583, allocations: 1.723 MB / 400.4 MB, free: 9.754 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.1584, allocations: 0 / 400.4 MB, free: 9.754 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.1585, allocations: 56 kB / 400.4 MB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.987e-05/0.1585, allocations: 35.94 kB / 400.5 MB, free: 9.664 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.1604, allocations: 1.005 MB / 401.5 MB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007208/0.1676, allocations: 3.819 MB / 405.3 MB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.1691, allocations: 0.8332 MB / 406.1 MB, free: 3.812 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008148/0.1699, allocations: 431.5 kB / 406.5 MB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.496e-05/0.17, allocations: 16.98 kB / 406.5 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.17, allocations: 51.5 kB / 406.6 MB, free: 3.312 MB / 366.1 MB Notification: Performance of pre-optimization done (n=94): time 2.785e-06/0.17, allocations: 4 kB / 406.6 MB, free: 3.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.005105/0.1751, allocations: 1.711 MB / 408.3 MB, free: 1.574 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.1752, allocations: 86.11 kB / 408.4 MB, free: 1.473 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009952/0.1762, allocations: 0.7506 MB / 409.1 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.535e-05/0.1763, allocations: 49.7 kB / 409.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004624/0.1767, allocations: 0.6095 MB / 409.8 MB, free: 44 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003159/0.177, allocations: 329.4 kB / 410.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002759/0.1773, allocations: 182.9 kB / 410.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.1775, allocations: 402.7 kB / 410.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005929/0.1781, allocations: 306.5 kB / 411 MB, free: 14.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007641/0.1789, allocations: 0.5062 MB / 411.5 MB, free: 14.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.1802, allocations: 0.8088 MB / 412.3 MB, free: 13.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.1802, allocations: 4 kB / 412.3 MB, free: 13.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002748/0.183, allocations: 1.317 MB / 413.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.183, allocations: 8 kB / 413.6 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.183, allocations: 4 kB / 413.6 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/0.1845, allocations: 392.9 kB / 414 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007297/0.1852, allocations: 191.7 kB / 414.2 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/0.1971, allocations: 10.02 MB / 424.2 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009044/0.198, allocations: 111.3 kB / 424.3 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.1981, allocations: 43.98 kB / 424.4 MB, free: 0.6094 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 10 (firstOrder2A.opAmp.satNeg,firstOrder2A.opAmp.satPos,addA.opAmp.satNeg,addA.opAmp.satPos,firstOrder1A.opAmp.satNeg,firstOrder1A.opAmp.satPos,PIA.opAmp.satNeg,PIA.opAmp.satPos,feedbackA.opAmp.satNeg,feedbackA.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 103 * 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,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006631/0.1988, allocations: 285.9 kB / 424.7 MB, free: 328 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.1991, allocations: 107.3 kB / 424.8 MB, free: 220 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.1993, allocations: 109.4 kB / 424.9 MB, free: 100 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.1993, allocations: 8 kB / 424.9 MB, free: 92 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/0.1993, allocations: 8 kB / 424.9 MB, free: 84 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.1994, allocations: 7.922 kB / 424.9 MB, free: 76 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004239/0.2036, allocations: 1.912 MB / 426.8 MB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2036, allocations: 4 kB / 426.8 MB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005538/0.2042, allocations: 123.9 kB / 426.9 MB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001371/0.2055, allocations: 389.1 kB / 427.3 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/0.2056, allocations: 24 kB / 427.3 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/0.218, allocations: 10.04 MB / 437.4 MB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.218, allocations: 0 / 437.4 MB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003549/0.2216, allocations: 1.627 MB / 439 MB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003545/0.2219, allocations: 119.2 kB / 439.1 MB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.2221, allocations: 16 kB / 439.1 MB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008198/0.2229, allocations: 91.86 kB / 439.2 MB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/0.2232, allocations: 92.77 kB / 439.3 MB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.82e-05/0.2233, allocations: 28 kB / 439.3 MB, free: 0.8594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001065/0.2244, allocations: 0.4951 MB / 439.8 MB, free: 380 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2244, allocations: 0 / 439.8 MB, free: 380 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.002027/0.2264, allocations: 407.2 kB / 440.2 MB, free: 15.97 MB / 414.1 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: 10 (feedbackA.opAmp.satPos,feedbackA.opAmp.satNeg,PIA.opAmp.satPos,PIA.opAmp.satNeg,firstOrder1A.opAmp.satPos,firstOrder1A.opAmp.satNeg,addA.opAmp.satPos,addA.opAmp.satNeg,firstOrder2A.opAmp.satPos,firstOrder2A.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 62 * 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,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002902/0.2267, allocations: 143 kB / 440.4 MB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002584/0.2293, allocations: 1.513 MB / 441.9 MB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.2293, allocations: 0 / 441.9 MB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001601/0.2309, allocations: 1.158 MB / 443.1 MB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.232, allocations: 184 kB / 443.2 MB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004912/0.2369, allocations: 2.283 MB / 445.5 MB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007298/0.2376, allocations: 0.5135 MB / 446 MB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004203/0.2381, allocations: 95.31 kB / 446.1 MB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.2382, allocations: 60.5 kB / 446.2 MB, free: 9.801 MB / 414.1 MB Notification: Performance of SimCode: time 7.22e-07/0.2382, allocations: 0 / 446.2 MB, free: 9.801 MB / 414.1 MB Notification: Performance of Templates: time 0.03041/0.2686, allocations: 14.96 MB / 461.1 MB, free: 11.03 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.652455286006443]