Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008239/0.0008239, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000828/0.000828, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8524/0.8524, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 324.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.427e-06/1.082e-05, allocations: 6.219 kB / 324.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.005081/0.005092, allocations: 6.877 MB / 331.5 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002807/0.007899, allocations: 1.886 MB / 333.4 MB, free: 6.945 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004495/0.008349, allocations: 31.81 kB / 333.4 MB, free: 6.914 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.008671, allocations: 237.7 kB / 333.6 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005717/0.009243, allocations: 475.9 kB / 334.1 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006397/0.009883, allocations: 0.5071 MB / 334.6 MB, free: 5.703 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001144/0.01103, allocations: 1.867 MB / 336.5 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004241/0.01145, allocations: 408.3 kB / 336.9 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006379/0.01209, allocations: 0.994 MB / 337.9 MB, free: 2.414 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003829/0.01247, allocations: 0.5257 MB / 338.4 MB, free: 1.887 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002522/0.01272, allocations: 180 kB / 338.6 MB, free: 1.711 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.01286, allocations: 183.9 kB / 338.8 MB, free: 1.531 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.01302, allocations: 358.7 kB / 339.1 MB, free: 1.176 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002987/0.01332, allocations: 0.5456 MB / 339.7 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.01442, allocations: 2.095 MB / 341.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.01442, allocations: 0 / 341.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01442, allocations: 0 / 341.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.01443, allocations: 0 / 341.8 MB, free: 14.53 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.001759/0.01619, allocations: 1.727 MB / 343.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.01623, allocations: 8.031 kB / 343.5 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.01637, allocations: 193.9 kB / 343.7 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.01651, allocations: 160 kB / 343.8 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007369/0.01724, allocations: 0.6964 MB / 344.5 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.01729, allocations: 90.83 kB / 344.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.01739, allocations: 124.1 kB / 344.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.01896, allocations: 1.639 MB / 346.4 MB, free: 9.699 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.01898, allocations: 0 / 346.4 MB, free: 9.699 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.575e-05/0.01904, allocations: 52 kB / 346.4 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.01905, allocations: 32 kB / 346.5 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.02043, allocations: 1.118 MB / 347.6 MB, free: 8.492 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/0.02453, allocations: 4.4 MB / 352 MB, free: 3.895 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.02599, allocations: 0.9916 MB / 353 MB, free: 2.879 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006228/0.02661, allocations: 490.4 kB / 353.4 MB, free: 2.391 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.02665, allocations: 12.66 kB / 353.5 MB, free: 2.379 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.02667, allocations: 43.22 kB / 353.5 MB, free: 2.328 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 2.104e-06/0.02667, allocations: 0 / 353.5 MB, free: 2.328 MB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.004116/0.03079, allocations: 2.481 MB / 356 MB, free: 15.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.03083, allocations: 85.77 kB / 356.1 MB, free: 15.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006123/0.03144, allocations: 0.8215 MB / 356.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.03147, allocations: 41.7 kB / 356.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.03172, allocations: 0.6053 MB / 357.5 MB, free: 14.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.03185, allocations: 297.4 kB / 357.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.032, allocations: 162.6 kB / 358 MB, free: 13.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.319e-05/0.03208, allocations: 345.9 kB / 358.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004888/0.03257, allocations: 369.8 kB / 358.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005778/0.03315, allocations: 0.5778 MB / 359.3 MB, free: 12.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.03432, allocations: 0.952 MB / 360.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.03433, allocations: 4 kB / 360.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001634/0.03596, allocations: 1.354 MB / 361.6 MB, free: 9.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.03598, allocations: 11.94 kB / 361.6 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.03599, allocations: 8 kB / 361.6 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004119/0.0364, allocations: 226.7 kB / 361.8 MB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.03805, allocations: 0.8311 MB / 362.6 MB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006865/0.04492, allocations: 10.17 MB / 372.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.04531, allocations: 147.1 kB / 373 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.04534, allocations: 36 kB / 373 MB, free: 13.87 MB / 346.7 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.0002699/0.04561, allocations: 274 kB / 373.3 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.38e-05/0.04571, allocations: 103.3 kB / 373.4 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.032e-05/0.0458, allocations: 104.9 kB / 373.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.0458, allocations: 8 kB / 373.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.04581, allocations: 7.938 kB / 373.5 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.04581, allocations: 3.984 kB / 373.5 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/0.04864, allocations: 2.274 MB / 375.8 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.04865, allocations: 4 kB / 375.8 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/0.04892, allocations: 123.9 kB / 375.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006283/0.04954, allocations: 424.9 kB / 376.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.612e-05/0.04958, allocations: 12 kB / 376.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006496/0.05608, allocations: 10.21 MB / 386.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.05608, allocations: 3.938 kB / 386.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00263/0.05871, allocations: 1.937 MB / 388.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.05882, allocations: 111.2 kB / 388.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.05888, allocations: 16 kB / 388.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.05925, allocations: 103.9 kB / 388.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.05935, allocations: 68.41 kB / 388.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.05938, allocations: 24 kB / 388.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004536/0.05983, allocations: 0.5498 MB / 389.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05983, allocations: 0 / 389.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008051/0.06064, allocations: 367.2 kB / 389.7 MB, free: 12.35 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: 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.002656/0.0633, allocations: 2.508 MB / 392.2 MB, free: 9.793 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002913/0.06621, allocations: 1.949 MB / 394.1 MB, free: 7.805 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.06621, allocations: 8 kB / 394.1 MB, free: 7.797 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008619/0.06707, allocations: 1.133 MB / 395.3 MB, free: 6.582 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007618/0.06784, allocations: 205.7 kB / 395.5 MB, free: 6.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009611/0.07745, allocations: 9.254 MB / 404.7 MB, free: 12.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.07778, allocations: 488.3 kB / 405.2 MB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002473/0.07803, allocations: 99.5 kB / 405.3 MB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.07837, allocations: 432.4 kB / 405.7 MB, free: 11.77 MB / 378.7 MB Notification: Performance of SimCode: time 7.52e-07/0.07838, allocations: 0 / 405.7 MB, free: 11.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04246/0.1208, allocations: 25.33 MB / 431.1 MB, free: 2.785 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.402/8.523, allocations: 10.78 kB / 431.1 MB, free: 2.781 MB / 394.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/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_4.1.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: 10.150753125548363]