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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 92.11 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 185 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002901/0.0002899, allocations: 9.844 kB / 301.5 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1216, allocations: 50.41 MB / 352 MB, free: 3.348 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.00884/0.1305, allocations: 7.334 MB / 359.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005123/0.1357, allocations: 1.843 MB / 361.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.1373, allocations: 23.94 kB / 361.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009039/0.1383, allocations: 174.6 kB / 361.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00213/0.1404, allocations: 381.1 kB / 361.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.1418, allocations: 443.6 kB / 362.1 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002744/0.1445, allocations: 1.7 MB / 363.8 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.1456, allocations: 0.5136 MB / 364.4 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.1467, allocations: 0.5133 MB / 364.9 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.1478, allocations: 0.6063 MB / 365.5 MB, free: 5.746 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003862/0.1482, allocations: 76 kB / 365.5 MB, free: 5.672 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00053/0.1488, allocations: 76 kB / 365.6 MB, free: 5.598 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.149, allocations: 246.7 kB / 365.9 MB, free: 5.355 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007215/0.1498, allocations: 0.6777 MB / 366.5 MB, free: 4.668 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.1514, allocations: 1.907 MB / 368.4 MB, free: 2.754 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1514, allocations: 0 / 368.4 MB, free: 2.754 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1514, allocations: 0 / 368.4 MB, free: 2.754 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.125e-05/0.1514, allocations: 0 / 368.4 MB, free: 2.754 MB / 302.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.003061/0.1545, allocations: 1.587 MB / 370 MB, free: 1.113 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.1545, allocations: 8.031 kB / 370 MB, free: 1.105 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002287/0.1548, allocations: 186 kB / 370.2 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002295/0.155, allocations: 155.2 kB / 370.4 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1863/0.3414, allocations: 0.7333 MB / 371.1 MB, free: 23.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.3416, allocations: 91.33 kB / 371.2 MB, free: 23.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006036/0.3422, allocations: 119.5 kB / 371.3 MB, free: 23.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003352/0.3456, allocations: 1.331 MB / 372.6 MB, free: 23.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.3456, allocations: 1.531 kB / 372.6 MB, free: 23.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.3458, allocations: 50.12 kB / 372.7 MB, free: 23.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-05/0.3458, allocations: 30.72 kB / 372.7 MB, free: 23.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002971/0.3488, allocations: 1.165 MB / 373.9 MB, free: 23.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008473/0.3573, allocations: 5.053 MB / 378.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/0.3599, allocations: 1.263 MB / 380.2 MB, free: 19.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.3611, allocations: 0.5458 MB / 380.7 MB, free: 19.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.708e-05/0.3612, allocations: 14.38 kB / 380.8 MB, free: 19.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.3612, allocations: 44.86 kB / 380.8 MB, free: 19.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 2.795e-06/0.3612, allocations: 1.031 kB / 380.8 MB, free: 19.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.01003/0.3713, allocations: 3.159 MB / 384 MB, free: 18.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.3714, allocations: 90.09 kB / 384.1 MB, free: 18.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.3729, allocations: 0.8105 MB / 384.9 MB, free: 17.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.642e-05/0.373, allocations: 38.22 kB / 384.9 MB, free: 17.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/0.3733, allocations: 0.5946 MB / 385.5 MB, free: 17.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.3736, allocations: 278.9 kB / 385.8 MB, free: 17.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.3737, allocations: 84.2 kB / 385.9 MB, free: 16.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.3738, allocations: 346.7 kB / 386.2 MB, free: 16.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000946/0.3747, allocations: 383.3 kB / 386.6 MB, free: 16.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.3758, allocations: 0.6034 MB / 387.2 MB, free: 16.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/0.3777, allocations: 1.001 MB / 388.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.3778, allocations: 2.438 kB / 388.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003233/0.381, allocations: 1.415 MB / 389.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.381, allocations: 7.688 kB / 389.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.3811, allocations: 10.72 kB / 389.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008094/0.3819, allocations: 230.8 kB / 389.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003818/0.3857, allocations: 0.9433 MB / 390.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.3967, allocations: 10.23 MB / 401 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.3979, allocations: 154.8 kB / 401.2 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.013e-05/0.3979, allocations: 36.06 kB / 401.2 MB, free: 4.902 MB / 302.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.0005408/0.3985, allocations: 277.5 kB / 401.5 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.3987, allocations: 102.9 kB / 401.6 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.3988, allocations: 100.9 kB / 401.7 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/0.3989, allocations: 15.98 kB / 401.7 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.955e-05/0.3989, allocations: 7.938 kB / 401.7 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.3989, allocations: 3.984 kB / 401.7 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004617/0.4035, allocations: 2.535 MB / 404.2 MB, free: 1.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.4035, allocations: 4 kB / 404.2 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000507/0.4041, allocations: 127.8 kB / 404.3 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.4053, allocations: 441.8 kB / 404.8 MB, free: 1.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-05/0.4054, allocations: 15.98 kB / 404.8 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/0.4173, allocations: 10.13 MB / 414.9 MB, free: 6.281 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.4174, allocations: 4.031 kB / 414.9 MB, free: 6.277 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00514/0.4225, allocations: 2.053 MB / 417 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004225/0.423, allocations: 183.8 kB / 417.2 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.4231, allocations: 16 kB / 417.2 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008229/0.4239, allocations: 119.9 kB / 417.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.4241, allocations: 64.41 kB / 417.4 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/0.4241, allocations: 23.98 kB / 417.4 MB, free: 3.762 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007836/0.4249, allocations: 0.5537 MB / 417.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4249, allocations: 4 kB / 417.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001336/0.4263, allocations: 355 kB / 418.3 MB, free: 2.859 MB / 318.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.005253/0.4315, allocations: 2.625 MB / 420.9 MB, free: 184 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006208/0.4378, allocations: 2.144 MB / 423.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/0.4378, allocations: 4 kB / 423.1 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001839/0.4397, allocations: 1.179 MB / 424.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.4412, allocations: 198 kB / 424.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01818/0.4594, allocations: 10.59 MB / 435 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006915/0.4601, allocations: 1.078 MB / 436.1 MB, free: 440 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005399/0.4607, allocations: 103.6 kB / 436.2 MB, free: 332 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005918/0.4613, allocations: 434.1 kB / 436.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4613, allocations: 0 / 436.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05054/0.5118, allocations: 22.23 MB / 458.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/0.5121, allocations: 246.2 kB / 459.1 MB, free: 9.758 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.69/3.202, allocations: 3.875 kB / 459.1 MB, free: 9.758 MB / 366.1 MB (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 --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) 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) Reference file matches