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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009683/0.0009683, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.001071, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 227.7 MB / 246.8 MB, free: 9.695 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002232/0.0002232, allocations: 8.281 kB / 307.9 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08621/0.08645, allocations: 51.52 MB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.006851/0.09334, allocations: 7.344 MB / 366.7 MB, free: 5.586 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003534/0.0969, allocations: 1.886 MB / 368.6 MB, free: 3.695 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.09812, allocations: 23.94 kB / 368.6 MB, free: 3.672 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006096/0.09875, allocations: 178.6 kB / 368.8 MB, free: 3.496 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.0999, allocations: 373.1 kB / 369.2 MB, free: 3.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000863/0.1008, allocations: 447.6 kB / 369.6 MB, free: 2.691 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001908/0.1027, allocations: 1.696 MB / 371.3 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008413/0.1036, allocations: 0.5253 MB / 371.8 MB, free: 452 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.147/0.2505, allocations: 0.5021 MB / 372.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008854/0.2514, allocations: 0.6104 MB / 372.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002346/0.2517, allocations: 74.78 kB / 373 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.2519, allocations: 75.75 kB / 373.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.252, allocations: 245 kB / 373.3 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005467/0.2526, allocations: 0.6793 MB / 374 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.2544, allocations: 1.91 MB / 375.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2544, allocations: 0 / 375.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2545, allocations: 1.312 kB / 375.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.502e-05/0.2545, allocations: 0 / 375.9 MB, free: 9.332 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.002794/0.2573, allocations: 1.576 MB / 377.5 MB, free: 8.531 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2573, allocations: 9.625 kB / 377.5 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002044/0.2575, allocations: 184.6 kB / 377.7 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/0.2578, allocations: 161.2 kB / 377.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008446/0.2586, allocations: 0.7309 MB / 378.6 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.281e-05/0.2587, allocations: 94.2 kB / 378.7 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.2588, allocations: 123.7 kB / 378.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.2611, allocations: 1.331 MB / 380.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.2612, allocations: 2.625 kB / 380.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.2613, allocations: 51.47 kB / 380.2 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.2613, allocations: 29.44 kB / 380.2 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/0.2637, allocations: 1.161 MB / 381.4 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00674/0.2705, allocations: 5.07 MB / 386.4 MB, free: 5.441 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.2728, allocations: 1.248 MB / 387.7 MB, free: 4.824 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.2738, allocations: 0.549 MB / 388.2 MB, free: 4.582 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.751e-05/0.2739, allocations: 15.02 kB / 388.2 MB, free: 4.578 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.2739, allocations: 44.66 kB / 388.3 MB, free: 4.531 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 2.915e-06/0.2739, allocations: 0 / 388.3 MB, free: 4.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.008204/0.2821, allocations: 3.168 MB / 391.5 MB, free: 2.906 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.2822, allocations: 86.27 kB / 391.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000975/0.2832, allocations: 0.8059 MB / 392.3 MB, free: 2.352 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-05/0.2832, allocations: 43.14 kB / 392.4 MB, free: 2.309 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.2835, allocations: 0.5887 MB / 393 MB, free: 1.785 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.2836, allocations: 279.1 kB / 393.2 MB, free: 1.547 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.999e-05/0.2837, allocations: 82.48 kB / 393.3 MB, free: 1.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.289e-05/0.2838, allocations: 342.6 kB / 393.7 MB, free: 1.156 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008256/0.2846, allocations: 389.3 kB / 394 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008762/0.2855, allocations: 0.6071 MB / 394.6 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.2873, allocations: 0.9885 MB / 395.6 MB, free: 15.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.2873, allocations: 7.031 kB / 395.6 MB, free: 15.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002958/0.2902, allocations: 1.415 MB / 397.1 MB, free: 15.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.2903, allocations: 12.69 kB / 397.1 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.2903, allocations: 7.406 kB / 397.1 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007057/0.291, allocations: 238 kB / 397.3 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003403/0.2944, allocations: 0.9337 MB / 398.2 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/0.3062, allocations: 10.22 MB / 408.5 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009326/0.3071, allocations: 150.9 kB / 408.6 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-05/0.3072, allocations: 39.98 kB / 408.7 MB, free: 4.777 MB / 318.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.0005161/0.3077, allocations: 283.2 kB / 408.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.3079, allocations: 98.88 kB / 409 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.3081, allocations: 104.9 kB / 409.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.3081, allocations: 8 kB / 409.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.3081, allocations: 4.125 kB / 409.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.3081, allocations: 3.984 kB / 409.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004812/0.3129, allocations: 2.542 MB / 411.7 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.3129, allocations: 0 / 411.7 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/0.3135, allocations: 131.8 kB / 411.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001272/0.3147, allocations: 452.5 kB / 412.3 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.3148, allocations: 20 kB / 412.3 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01074/0.3255, allocations: 10.13 MB / 422.4 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3256, allocations: 0 / 422.4 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004489/0.33, allocations: 2.043 MB / 424.4 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.3303, allocations: 191.7 kB / 424.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.3304, allocations: 19.98 kB / 424.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007673/0.3312, allocations: 119.9 kB / 424.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.3313, allocations: 64.47 kB / 424.8 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/0.3313, allocations: 20 kB / 424.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006445/0.332, allocations: 0.5537 MB / 425.4 MB, free: 3.176 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.332, allocations: 0 / 425.4 MB, free: 3.176 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001135/0.3331, allocations: 359 kB / 425.8 MB, free: 2.824 MB / 334.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.004648/0.3378, allocations: 2.622 MB / 428.4 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.005538/0.3433, allocations: 2.132 MB / 430.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3434, allocations: 4 kB / 430.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001453/0.3448, allocations: 1.188 MB / 431.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.3459, allocations: 194.5 kB / 431.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0159/0.3618, allocations: 10.61 MB / 442.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005858/0.3624, allocations: 1.074 MB / 443.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004065/0.3628, allocations: 103.5 kB / 443.7 MB, free: 420 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/0.3633, allocations: 427.3 kB / 444.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3633, allocations: 4 kB / 444.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03662/0.3999, allocations: 22.2 MB / 466.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.4002, allocations: 252.9 kB / 466.5 MB, free: 9.863 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/2.559, allocations: 0 / 466.5 MB, free: 9.863 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches