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.001496/0.001496, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 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.001398/0.001398, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.416/1.416, allocations: 230.5 MB / 257.4 MB, free: 7.984 MB / 206.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: "" <> 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 0.001819/0.001819, allocations: 63.89 kB / 377.8 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2485, allocations: 53.41 MB / 431.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009655/0.2582, allocations: 8.054 MB / 439.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003845/0.262, allocations: 1.819 MB / 441.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007549/0.2628, allocations: 35.75 kB / 441.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005396/0.2633, allocations: 241.6 kB / 441.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009728/0.2643, allocations: 484.1 kB / 441.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007/0.265, allocations: 415.5 kB / 442.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001877/0.2669, allocations: 1.79 MB / 444 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007164/0.2676, allocations: 444.5 kB / 444.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007645/0.2684, allocations: 0.6539 MB / 445.1 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008747/0.2692, allocations: 0.7349 MB / 445.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000224/0.2695, allocations: 180 kB / 446 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.2697, allocations: 180 kB / 446.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.27, allocations: 366.7 kB / 446.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000729/0.2707, allocations: 0.797 MB / 447.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002065/0.2728, allocations: 2.109 MB / 449.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2728, allocations: 0 / 449.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2728, allocations: 0 / 449.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.248e-05/0.2728, allocations: 0 / 449.5 MB, free: 4.301 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002913/0.2757, allocations: 1.685 MB / 451.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.463e-05/0.2758, allocations: 12.03 kB / 451.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000225/0.276, allocations: 198.3 kB / 451.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.2763, allocations: 171.9 kB / 451.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.2776, allocations: 0.738 MB / 452.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.1e-05/0.2776, allocations: 90.58 kB / 452.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.2778, allocations: 139.9 kB / 452.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.2799, allocations: 1.256 MB / 453.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.2799, allocations: 0 / 453.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.28, allocations: 56 kB / 453.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.2801, allocations: 36 kB / 453.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.282, allocations: 1.013 MB / 454.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007269/0.2892, allocations: 4.353 MB / 459.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.2907, allocations: 0.8402 MB / 460.1 MB, free: 9.418 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007927/0.2914, allocations: 435.2 kB / 460.5 MB, free: 8.988 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-05/0.2915, allocations: 17 kB / 460.5 MB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.2916, allocations: 51.5 kB / 460.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of pre-optimization done (n=94): time 2.645e-06/0.2916, allocations: 0 / 460.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.005035/0.2966, allocations: 1.722 MB / 462.3 MB, free: 7.164 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.2967, allocations: 94.05 kB / 462.4 MB, free: 7.055 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.2978, allocations: 0.8059 MB / 463.2 MB, free: 6.242 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.102e-05/0.2979, allocations: 45.7 kB / 463.2 MB, free: 6.191 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004721/0.2984, allocations: 0.6017 MB / 463.8 MB, free: 5.582 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000319/0.2987, allocations: 337.1 kB / 464.1 MB, free: 5.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/0.299, allocations: 174.9 kB / 464.3 MB, free: 5.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.2992, allocations: 345.9 kB / 464.6 MB, free: 4.727 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005987/0.2998, allocations: 310.5 kB / 465 MB, free: 4.426 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000749/0.3005, allocations: 0.4984 MB / 465.4 MB, free: 3.852 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.3018, allocations: 0.8165 MB / 466.3 MB, free: 2.961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.3018, allocations: 4 kB / 466.3 MB, free: 2.957 MB / 366.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002792/0.3046, allocations: 1.318 MB / 467.6 MB, free: 1.613 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.3046, allocations: 8 kB / 467.6 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.3046, allocations: 8 kB / 467.6 MB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.306, allocations: 396.9 kB / 468 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000732/0.3067, allocations: 191.7 kB / 468.2 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/0.3184, allocations: 10.22 MB / 478.4 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008629/0.3193, allocations: 127.2 kB / 478.5 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-05/0.3194, allocations: 39.98 kB / 478.6 MB, free: 5.91 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.0005186/0.3199, allocations: 290.5 kB / 478.8 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.3201, allocations: 107.3 kB / 478.9 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.3203, allocations: 118.1 kB / 479.1 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.3203, allocations: 8 kB / 479.1 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.3203, allocations: 8 kB / 479.1 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.3203, allocations: 3.984 kB / 479.1 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003963/0.3243, allocations: 2.22 MB / 481.3 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.3243, allocations: 0 / 481.3 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/0.3249, allocations: 123.8 kB / 481.4 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001319/0.3262, allocations: 393.1 kB / 481.8 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.574e-05/0.3262, allocations: 19.94 kB / 481.8 MB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/0.3377, allocations: 10.25 MB / 492.1 MB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.3377, allocations: 3.938 kB / 492.1 MB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003157/0.3408, allocations: 1.628 MB / 493.7 MB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/0.3411, allocations: 127.1 kB / 493.8 MB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.3412, allocations: 20 kB / 493.8 MB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006954/0.3419, allocations: 87.92 kB / 493.9 MB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.3421, allocations: 88.83 kB / 494 MB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.248e-05/0.3422, allocations: 28 kB / 494 MB, free: 5.555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000726/0.3429, allocations: 0.5459 MB / 494.6 MB, free: 5.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3429, allocations: 0 / 494.6 MB, free: 5.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001428/0.3444, allocations: 391.3 kB / 495 MB, free: 4.633 MB / 398.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.00344/0.3478, allocations: 2.223 MB / 497.2 MB, free: 2.359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002493/0.3503, allocations: 1.512 MB / 498.7 MB, free: 0.7656 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.3503, allocations: 0 / 498.7 MB, free: 0.7656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001678/0.352, allocations: 1.167 MB / 499.9 MB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.3532, allocations: 228.9 kB / 0.4884 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/0.3685, allocations: 9.084 MB / 0.4973 GB, free: 5.906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008746/0.3694, allocations: 1.11 MB / 0.4983 GB, free: 4.766 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000523/0.3699, allocations: 103.9 kB / 0.4984 GB, free: 4.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005808/0.3705, allocations: 463.3 kB / 0.4989 GB, free: 4.207 MB / 414.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3705, allocations: 3.938 kB / 0.4989 GB, free: 4.203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0837/0.4542, allocations: 27.09 MB / 0.5253 GB, free: 9.363 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.04, allocations: 20.73 kB / 0.5254 GB, free: 9.348 MB / 446.1 MB " [Timeout remaining time 645] (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/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] "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] Reference file matches [Calling sys.exit(0), Time elapsed: 17.652007962002244]