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.001371/0.001371, allocations: 98.64 kB / 16.5 MB, free: 6.648 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.001239/0.001239, allocations: 194.4 kB / 17.42 MB, free: 6.066 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.417/1.417, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 54.81 kB / 300.1 MB, free: 6.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1383, allocations: 49.45 MB / 349.5 MB, free: 4.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01009/0.1485, allocations: 7.837 MB / 357.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004748/0.1533, allocations: 1.843 MB / 359.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.1548, allocations: 31.88 kB / 359.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007731/0.1557, allocations: 182.6 kB / 359.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.157, allocations: 377.1 kB / 359.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.158, allocations: 447.6 kB / 360.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.1598, allocations: 1.696 MB / 361.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008736/0.1607, allocations: 0.5253 MB / 362.4 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009199/0.1617, allocations: 0.5563 MB / 363 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000826/0.1625, allocations: 0.6609 MB / 363.7 MB, free: 6.488 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.1627, allocations: 96 kB / 363.8 MB, free: 6.395 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.1629, allocations: 100 kB / 363.9 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.1632, allocations: 278.8 kB / 364.1 MB, free: 6.023 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008338/0.164, allocations: 0.6994 MB / 364.8 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.1659, allocations: 1.954 MB / 366.8 MB, free: 3.359 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.1659, allocations: 0 / 366.8 MB, free: 3.359 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1659, allocations: 0 / 366.8 MB, free: 3.359 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.603e-05/0.166, allocations: 0 / 366.8 MB, free: 3.359 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.003682/0.1697, allocations: 1.789 MB / 368.6 MB, free: 1.516 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.1697, allocations: 8.031 kB / 368.6 MB, free: 1.508 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002203/0.17, allocations: 186 kB / 368.8 MB, free: 1.316 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.1702, allocations: 151.2 kB / 368.9 MB, free: 1.168 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.1714, allocations: 0.7449 MB / 369.6 MB, free: 388 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.938e-05/0.1714, allocations: 90.45 kB / 369.7 MB, free: 296 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.1716, allocations: 120 kB / 369.9 MB, free: 176 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2759/0.4475, allocations: 1.304 MB / 371.2 MB, free: 24.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.4476, allocations: 0.7188 kB / 371.2 MB, free: 24.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.4477, allocations: 54.88 kB / 371.2 MB, free: 24.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-05/0.4478, allocations: 33.58 kB / 371.2 MB, free: 24.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003189/0.451, allocations: 1.119 MB / 372.4 MB, free: 24.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/0.4611, allocations: 4.985 MB / 377.3 MB, free: 21.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003377/0.4646, allocations: 1.213 MB / 378.6 MB, free: 20.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.4661, allocations: 0.5231 MB / 379.1 MB, free: 20.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.169e-05/0.4662, allocations: 9.297 kB / 379.1 MB, free: 20.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/0.4663, allocations: 45.56 kB / 379.1 MB, free: 20.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 3.346e-06/0.4663, allocations: 4 kB / 379.1 MB, free: 20.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.01016/0.4765, allocations: 2.925 MB / 382.1 MB, free: 19.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/0.4766, allocations: 91.47 kB / 382.2 MB, free: 19.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/0.4786, allocations: 0.8097 MB / 383 MB, free: 19.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.4788, allocations: 42.66 kB / 383 MB, free: 18.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005504/0.4794, allocations: 0.5901 MB / 383.6 MB, free: 18.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000272/0.4796, allocations: 276.5 kB / 383.9 MB, free: 18.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003839/0.48, allocations: 169.6 kB / 384 MB, free: 18.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4802, allocations: 345.2 kB / 384.4 MB, free: 17.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.4813, allocations: 370.3 kB / 384.7 MB, free: 17.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.4825, allocations: 0.5827 MB / 385.3 MB, free: 17.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002102/0.4846, allocations: 0.9546 MB / 386.3 MB, free: 16.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.859e-05/0.4846, allocations: 9.953 kB / 386.3 MB, free: 16.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00396/0.4886, allocations: 1.349 MB / 387.6 MB, free: 16.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.199e-05/0.4887, allocations: 11.03 kB / 387.6 MB, free: 16.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.415e-05/0.4887, allocations: 10.61 kB / 387.6 MB, free: 16.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.4898, allocations: 223.5 kB / 387.9 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003372/0.4932, allocations: 0.8273 MB / 388.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/0.5059, allocations: 10.02 MB / 398.7 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.5073, allocations: 141.7 kB / 398.8 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/0.5075, allocations: 35.59 kB / 398.9 MB, free: 6.438 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.0008875/0.5084, allocations: 275.9 kB / 399.2 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000425/0.5089, allocations: 97.09 kB / 399.2 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.5092, allocations: 108.5 kB / 399.4 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.5092, allocations: 11.52 kB / 399.4 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-05/0.5092, allocations: 3.906 kB / 399.4 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.5092, allocations: 7.969 kB / 399.4 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005854/0.5151, allocations: 2.458 MB / 401.8 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.5152, allocations: 0 / 401.8 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/0.5157, allocations: 127.9 kB / 402 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001266/0.517, allocations: 422.4 kB / 402.4 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.09e-05/0.5171, allocations: 15.98 kB / 402.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01248/0.5296, allocations: 9.954 MB / 412.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.5296, allocations: 0 / 412.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005394/0.535, allocations: 1.95 MB / 414.3 MB, free: 6.887 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006977/0.5358, allocations: 187.7 kB / 414.5 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003301/0.5361, allocations: 19.94 kB / 414.5 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.5372, allocations: 103.8 kB / 414.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/0.5374, allocations: 64.42 kB / 414.7 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.858e-05/0.5375, allocations: 23.98 kB / 414.7 MB, free: 6.477 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001139/0.5386, allocations: 0.5498 MB / 415.2 MB, free: 5.934 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5387, allocations: 0 / 415.2 MB, free: 5.934 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00185/0.5405, allocations: 363 kB / 415.6 MB, free: 5.578 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.005786/0.5463, allocations: 2.511 MB / 418.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006395/0.5527, allocations: 1.993 MB / 420.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.606e-05/0.5528, allocations: 4 kB / 420.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.5549, allocations: 1.151 MB / 421.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.5569, allocations: 195.1 kB / 421.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02172/0.5787, allocations: 10.35 MB / 431.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.5798, allocations: 1.074 MB / 432.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006291/0.5804, allocations: 107.6 kB / 433 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006528/0.5811, allocations: 431.2 kB / 433.4 MB, free: 3.172 MB / 334.1 MB Notification: Performance of SimCode: time 1.352e-06/0.5811, allocations: 0 / 433.4 MB, free: 3.172 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05301/0.6341, allocations: 22.52 MB / 455.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002491/0.6344, allocations: 246.8 kB / 456.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.775/3.41, allocations: 0 / 456.1 MB, free: 12.68 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