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.0008695/0.0008695, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.00158/0.00158, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.887/0.887, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19e-05/1.343e-05, allocations: 2.281 kB / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.004876/0.00489, allocations: 6.972 MB / 331.5 MB, free: 8.832 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002672/0.007562, allocations: 1.788 MB / 333.3 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004269/0.007989, allocations: 31.81 kB / 333.4 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.008295, allocations: 245.6 kB / 333.6 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005522/0.008847, allocations: 0.4919 MB / 334.1 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.009277, allocations: 427.4 kB / 334.5 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.01044, allocations: 1.855 MB / 336.4 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004272/0.01086, allocations: 412.5 kB / 336.8 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007489/0.01161, allocations: 0.9939 MB / 337.8 MB, free: 2.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004187/0.01203, allocations: 0.5334 MB / 338.3 MB, free: 2.035 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.01217, allocations: 180 kB / 338.5 MB, free: 1.859 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.0123, allocations: 184 kB / 338.6 MB, free: 1.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.01246, allocations: 370.6 kB / 339 MB, free: 1.316 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003147/0.01278, allocations: 0.5533 MB / 339.6 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.01422, allocations: 2.134 MB / 341.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.01423, allocations: 0 / 341.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01423, allocations: 4 kB / 341.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.01424, allocations: 0 / 341.7 MB, free: 14.61 MB / 314.7 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.001565/0.01581, allocations: 1.674 MB / 343.4 MB, free: 12.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.01585, allocations: 19.97 kB / 343.4 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.016, allocations: 190.4 kB / 343.6 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.01614, allocations: 171.8 kB / 343.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007851/0.01692, allocations: 0.7262 MB / 344.5 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.954e-05/0.01698, allocations: 102.7 kB / 344.6 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.01709, allocations: 124 kB / 344.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.01849, allocations: 1.716 MB / 346.4 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.01851, allocations: 0 / 346.4 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.879e-05/0.01858, allocations: 55.98 kB / 346.5 MB, free: 9.625 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.01859, allocations: 35.94 kB / 346.5 MB, free: 9.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.01982, allocations: 1.013 MB / 347.5 MB, free: 8.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004515/0.02434, allocations: 3.991 MB / 351.5 MB, free: 4.402 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.02537, allocations: 0.8333 MB / 352.3 MB, free: 3.551 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000538/0.02591, allocations: 443.5 kB / 352.8 MB, free: 3.113 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.02595, allocations: 9 kB / 352.8 MB, free: 3.105 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.02598, allocations: 47.56 kB / 352.8 MB, free: 3.047 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 1.984e-06/0.02598, allocations: 0 / 352.8 MB, free: 3.047 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.0028/0.02878, allocations: 1.718 MB / 354.5 MB, free: 1.309 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.02882, allocations: 97.98 kB / 354.6 MB, free: 1.195 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006796/0.0295, allocations: 0.8213 MB / 355.5 MB, free: 372 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003201/0.02982, allocations: 53.7 kB / 355.5 MB, free: 312 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.0301, allocations: 0.594 MB / 356.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.03026, allocations: 333.1 kB / 356.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.03044, allocations: 182.9 kB / 356.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.207e-05/0.03053, allocations: 341.9 kB / 356.9 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.03089, allocations: 302.5 kB / 357.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.03133, allocations: 0.4947 MB / 357.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008426/0.03217, allocations: 0.8204 MB / 358.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.03218, allocations: 8 kB / 358.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001584/0.03376, allocations: 1.31 MB / 359.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.03378, allocations: 8 kB / 359.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.03379, allocations: 4 kB / 359.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007654/0.03456, allocations: 396.9 kB / 360.3 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.03493, allocations: 195.7 kB / 360.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007054/0.04198, allocations: 10.14 MB / 370.6 MB, free: 288 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004599/0.04244, allocations: 119.2 kB / 370.7 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/0.04248, allocations: 40 kB / 370.8 MB, free: 128 kB / 330.7 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.0004632/0.04295, allocations: 282.1 kB / 371 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.04306, allocations: 131.2 kB / 371.2 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.864e-05/0.04316, allocations: 110.1 kB / 371.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.04317, allocations: 12 kB / 371.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.04318, allocations: 0 / 371.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.04318, allocations: 3.984 kB / 371.3 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.04559, allocations: 2.056 MB / 373.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.0456, allocations: 0 / 373.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.04588, allocations: 119.9 kB / 373.5 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006852/0.04656, allocations: 392.8 kB / 373.8 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.04659, allocations: 23.98 kB / 373.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006478/0.05307, allocations: 10.15 MB / 384 MB, free: 2.051 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.05307, allocations: 7.938 kB / 384 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.05481, allocations: 1.628 MB / 385.7 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.05493, allocations: 123.1 kB / 385.8 MB, free: 260 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/0.055, allocations: 27.92 kB / 385.8 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.05533, allocations: 83.94 kB / 385.9 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.05546, allocations: 96.86 kB / 386 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.05549, allocations: 28 kB / 386 MB, free: 20 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004509/0.05594, allocations: 0.5575 MB / 386.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.05594, allocations: 0 / 386.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008955/0.05684, allocations: 387.2 kB / 386.9 MB, free: 15.09 MB / 362.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: 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.001945/0.05878, allocations: 2.207 MB / 389.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.06023, allocations: 1.521 MB / 390.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.06023, allocations: 11.91 kB / 390.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.06127, allocations: 1.154 MB / 391.8 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006234/0.06189, allocations: 223.3 kB / 392.1 MB, free: 9.773 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009444/0.07133, allocations: 9.06 MB / 401.1 MB, free: 396 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.07172, allocations: 0.5176 MB / 401.6 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002983/0.07202, allocations: 111.9 kB / 401.7 MB, free: 15.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/0.0724, allocations: 452.4 kB / 402.2 MB, free: 15.28 MB / 378.7 MB Notification: Performance of SimCode: time 1.452e-06/0.0724, allocations: 0 / 402.2 MB, free: 15.28 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04468/0.1171, allocations: 27.51 MB / 429.7 MB, free: 4.062 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.619/8.736, allocations: 3.859 kB / 429.7 MB, free: 4.059 MB / 394.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable firstOrder2B.y in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv. Warning: Get data of variable firstOrder2B.y from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv failed! Error: Could not read variable addA.opAmp.v_out in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv. Warning: Get data of variable addA.opAmp.v_out from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv failed! Error: Could not read variable addB.y in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv. Warning: Get data of variable addB.y from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,firstOrder1A.c.v,firstOrder1B.y,firstOrder2A.c.v,firstOrder2B.y,PIA.c.v,PIB.x,addA.opAmp.v_out,addB.y Variables in the result:time,PIA.c.v,PIB.x,firstOrder1A.c.v,firstOrder1B.y,firstOrder2A.c.v [Calling sys.exit(0), Time elapsed: 10.558569673448801]