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.001296/0.001297, allocations: 117 kB / 18.41 MB, free: 4.664 MB / 14.72 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.001332/0.001331, allocations: 186.9 kB / 21.34 MB, free: 1.738 MB / 14.72 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 1.423/1.423, allocations: 222.9 MB / 247.1 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001545/0.001545, allocations: 51.92 kB / 358.7 MB, free: 8.348 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1138, allocations: 49.45 MB / 408.2 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01051/0.1244, allocations: 7.853 MB / 416 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004735/0.1292, allocations: 1.866 MB / 417.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007745/0.13, allocations: 31.88 kB / 417.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005898/0.1306, allocations: 229.7 kB / 418.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009897/0.1316, allocations: 444.2 kB / 418.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.1326, allocations: 0.4994 MB / 419.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002222/0.1349, allocations: 1.802 MB / 420.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009494/0.1358, allocations: 0.6052 MB / 421.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008917/0.1367, allocations: 0.6461 MB / 422.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009065/0.1376, allocations: 0.7155 MB / 422.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000254/0.1379, allocations: 180 kB / 423 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003007/0.1382, allocations: 180 kB / 423.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003641/0.1386, allocations: 358.8 kB / 423.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008114/0.1394, allocations: 0.7659 MB / 424.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002349/0.1417, allocations: 2.059 MB / 426.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1418, allocations: 4 kB / 426.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1418, allocations: 0 / 426.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.771e-05/0.1418, allocations: 0 / 426.4 MB, free: 4.555 MB / 350.1 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.003939/0.1458, allocations: 1.827 MB / 428.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1458, allocations: 16.02 kB / 428.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.1461, allocations: 164 kB / 428.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.1473, allocations: 0.7575 MB / 429.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.224e-05/0.1474, allocations: 94.39 kB / 429.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.1476, allocations: 120 kB / 429.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/0.1502, allocations: 1.312 MB / 430.6 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.1503, allocations: 4 kB / 430.6 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.1504, allocations: 55.94 kB / 430.7 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/0.1505, allocations: 28 kB / 430.7 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2453/0.3958, allocations: 1.12 MB / 431.8 MB, free: 22.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007029/0.4028, allocations: 4.953 MB / 436.8 MB, free: 20.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/0.4054, allocations: 1.216 MB / 438 MB, free: 20.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.4066, allocations: 0.5265 MB / 438.5 MB, free: 20.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.297e-05/0.4067, allocations: 15.08 kB / 438.6 MB, free: 20.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.4067, allocations: 47.47 kB / 438.6 MB, free: 20.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.645e-06/0.4067, allocations: 0 / 438.6 MB, free: 20.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008772/0.4155, allocations: 2.935 MB / 441.5 MB, free: 19.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.4155, allocations: 90.02 kB / 441.6 MB, free: 19.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.4166, allocations: 0.8069 MB / 442.4 MB, free: 18.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.189e-05/0.4167, allocations: 41.23 kB / 442.5 MB, free: 18.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.417, allocations: 0.6019 MB / 443.1 MB, free: 18.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.4172, allocations: 292.9 kB / 443.4 MB, free: 18.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/0.4175, allocations: 169.8 kB / 443.5 MB, free: 18.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.929e-05/0.4176, allocations: 342.6 kB / 443.9 MB, free: 18.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009247/0.4185, allocations: 371.3 kB / 444.2 MB, free: 18.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009909/0.4195, allocations: 0.5825 MB / 444.8 MB, free: 17.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.4213, allocations: 0.9527 MB / 445.8 MB, free: 17.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-06/0.4213, allocations: 2.156 kB / 445.8 MB, free: 17.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00327/0.4246, allocations: 1.365 MB / 447.1 MB, free: 17.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.4246, allocations: 6.594 kB / 447.1 MB, free: 17.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.4247, allocations: 7.438 kB / 447.1 MB, free: 17.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008256/0.4255, allocations: 223.5 kB / 447.4 MB, free: 17.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003824/0.4293, allocations: 0.8351 MB / 448.2 MB, free: 17.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/0.4413, allocations: 10.85 MB / 459 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.4424, allocations: 151.6 kB / 459.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.233e-05/0.4425, allocations: 48.06 kB / 459.2 MB, free: 7.645 MB / 350.1 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.0004543/0.4429, allocations: 276.8 kB / 459.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.4431, allocations: 105.2 kB / 459.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.4432, allocations: 104.8 kB / 459.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.4433, allocations: 9.203 kB / 459.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.4433, allocations: 1.281 kB / 459.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.4433, allocations: 3.984 kB / 459.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004608/0.4479, allocations: 2.455 MB / 462.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.4479, allocations: 3.969 kB / 462.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005051/0.4484, allocations: 124.8 kB / 462.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.4498, allocations: 426.2 kB / 462.7 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.561e-05/0.4498, allocations: 15.97 kB / 462.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01217/0.462, allocations: 10.89 MB / 473.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.462, allocations: 1.375 kB / 473.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004872/0.4669, allocations: 1.95 MB / 475.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004551/0.4674, allocations: 196.3 kB / 475.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.4675, allocations: 16 kB / 475.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008117/0.4683, allocations: 99.92 kB / 475.9 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.4685, allocations: 64.47 kB / 476 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.123e-05/0.4686, allocations: 20 kB / 476 MB, free: 9.832 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000817/0.4694, allocations: 0.5498 MB / 476.5 MB, free: 9.285 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.623e-06/0.4694, allocations: 0 / 476.5 MB, free: 9.285 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001423/0.4708, allocations: 362.1 kB / 476.9 MB, free: 8.934 MB / 366.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: 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.0002106/0.4711, allocations: 139 kB / 477 MB, free: 8.789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006344/0.4774, allocations: 1.992 MB / 479 MB, free: 6.762 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.4774, allocations: 1.062 kB / 479 MB, free: 6.762 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001889/0.4793, allocations: 1.166 MB / 480.2 MB, free: 5.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.4805, allocations: 211 kB / 480.4 MB, free: 5.324 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004972/0.4855, allocations: 2.371 MB / 482.7 MB, free: 2.914 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008362/0.4863, allocations: 1.074 MB / 483.8 MB, free: 1.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.4866, allocations: 63.44 kB / 483.9 MB, free: 1.754 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4866, allocations: 3.938 kB / 483.9 MB, free: 1.75 MB / 366.1 MB Notification: Performance of Templates: time 0.04979/0.5364, allocations: 43.15 MB / 0.5147 GB, free: 6.609 MB / 414.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.93844870699104]