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.001632/0.001632, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001811/0.001811, allocations: 196.8 kB / 24.5 MB, free: 4.008 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.362/1.362, allocations: 225.7 MB / 253.3 MB, free: 13.05 MB / 206.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 47.91 kB / 371.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.245, allocations: 52.19 MB / 423.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009437/0.2545, allocations: 7.92 MB / 431.4 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005159/0.2596, allocations: 1.878 MB / 433.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.2607, allocations: 35.81 kB / 433.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006072/0.2613, allocations: 237.6 kB / 433.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.2625, allocations: 456.2 kB / 434 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.2637, allocations: 0.4955 MB / 434.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002396/0.2661, allocations: 1.798 MB / 436.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008504/0.267, allocations: 440.3 kB / 436.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.268, allocations: 0.6617 MB / 437.3 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008212/0.2688, allocations: 0.7156 MB / 438.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002146/0.269, allocations: 176 kB / 438.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.2693, allocations: 180 kB / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003092/0.2696, allocations: 362.8 kB / 438.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007628/0.2703, allocations: 0.7736 MB / 439.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002098/0.2724, allocations: 2.055 MB / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2724, allocations: 0 / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2724, allocations: 0 / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.2725, allocations: 0 / 441.6 MB, free: 12.38 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.003381/0.2758, allocations: 1.759 MB / 443.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.2759, allocations: 8.031 kB / 443.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.767e-05/0.2759, allocations: 30.64 kB / 443.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002186/0.2761, allocations: 190 kB / 443.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002524/0.2764, allocations: 160 kB / 443.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.2776, allocations: 0.6889 MB / 444.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.443e-05/0.2777, allocations: 90.45 kB / 444.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.2778, allocations: 120 kB / 444.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.2803, allocations: 1.312 MB / 445.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.2803, allocations: 3.938 kB / 445.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.2804, allocations: 52 kB / 446 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.2804, allocations: 32 kB / 446 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/0.2829, allocations: 1.125 MB / 447.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007767/0.2907, allocations: 4.856 MB / 452 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.2931, allocations: 1.007 MB / 453 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.2942, allocations: 490.1 kB / 453.5 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/0.2943, allocations: 8.656 kB / 453.5 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.2943, allocations: 47.22 kB / 453.5 MB, free: 36 kB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.344e-06/0.2943, allocations: 0 / 453.5 MB, free: 36 kB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008565/0.3029, allocations: 2.477 MB / 456 MB, free: 13.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/0.303, allocations: 89.75 kB / 456.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.3042, allocations: 0.8059 MB / 456.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.437e-05/0.3043, allocations: 45.69 kB / 457 MB, free: 12.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000487/0.3047, allocations: 0.6014 MB / 457.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.305, allocations: 297.4 kB / 457.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.3053, allocations: 166.6 kB / 458 MB, free: 11.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.3054, allocations: 349.9 kB / 458.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009035/0.3063, allocations: 369.8 kB / 458.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.3074, allocations: 0.5856 MB / 459.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/0.3094, allocations: 0.9519 MB / 460.3 MB, free: 9.066 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.3094, allocations: 4 kB / 460.3 MB, free: 9.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00318/0.3126, allocations: 1.358 MB / 461.6 MB, free: 7.688 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.3126, allocations: 8 kB / 461.6 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.3126, allocations: 4 kB / 461.6 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007978/0.3134, allocations: 222.7 kB / 461.8 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003586/0.317, allocations: 0.8311 MB / 462.7 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/0.3314, allocations: 10.24 MB / 472.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.3325, allocations: 155.2 kB / 473.1 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.3327, allocations: 40 kB / 473.1 MB, free: 11.51 MB / 382.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.000756/0.3334, allocations: 273.5 kB / 473.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003354/0.3338, allocations: 111.3 kB / 473.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.334, allocations: 104.9 kB / 473.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.334, allocations: 8 kB / 473.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.334, allocations: 0 / 473.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.3341, allocations: 3.984 kB / 473.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005727/0.3398, allocations: 2.418 MB / 476 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.3398, allocations: 11.88 kB / 476 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.3404, allocations: 119.8 kB / 476.1 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.3418, allocations: 432.9 kB / 476.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-05/0.3419, allocations: 16 kB / 476.6 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/0.356, allocations: 10.27 MB / 486.9 MB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-05/0.356, allocations: 7.969 kB / 486.9 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005115/0.3611, allocations: 1.937 MB / 488.8 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003258/0.3614, allocations: 111.7 kB / 488.9 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.3616, allocations: 19.94 kB / 488.9 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008334/0.3625, allocations: 107.9 kB / 489 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.3626, allocations: 64.53 kB / 489.1 MB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.206e-05/0.3627, allocations: 24 kB / 489.1 MB, free: 10.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008225/0.3635, allocations: 0.5459 MB / 489.7 MB, free: 10.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3635, allocations: 0 / 489.7 MB, free: 10.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001363/0.3649, allocations: 371.2 kB / 490 MB, free: 9.758 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: 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.005229/0.3701, allocations: 2.505 MB / 492.5 MB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006018/0.3761, allocations: 1.952 MB / 494.5 MB, free: 5.203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3761, allocations: 1.062 kB / 494.5 MB, free: 5.203 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.378, allocations: 1.136 MB / 495.6 MB, free: 3.988 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.3791, allocations: 210.4 kB / 495.8 MB, free: 3.793 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/0.3967, allocations: 9.276 MB / 0.4933 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009848/0.3977, allocations: 1.078 MB / 0.4943 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004618/0.3981, allocations: 103.5 kB / 0.4944 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006173/0.3987, allocations: 427.3 kB / 0.4948 GB, free: 8.574 MB / 414.1 MB Notification: Performance of SimCode: time 1.263e-06/0.3987, allocations: 4 kB / 0.4948 GB, free: 8.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07326/0.472, allocations: 24.95 MB / 0.5192 GB, free: 15.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/14.61, allocations: 10.33 kB / 0.5192 GB, free: 15.9 MB / 446.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/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: 17.116392189986072]