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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009787/0.0009788, allocations: 102.2 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001074/0.001074, allocations: 190.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003249, allocations: 8 kB / 307.1 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1325, allocations: 51.53 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.007082/0.1396, allocations: 6.895 MB / 365.5 MB, free: 6.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003985/0.1436, allocations: 1.843 MB / 367.4 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005848/0.1443, allocations: 27.88 kB / 367.4 MB, free: 4.625 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.1446, allocations: 174.7 kB / 367.6 MB, free: 4.453 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007216/0.1454, allocations: 365.1 kB / 367.9 MB, free: 4.094 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000712/0.1461, allocations: 307.6 kB / 368.2 MB, free: 3.793 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001679/0.1478, allocations: 1.618 MB / 369.9 MB, free: 2.168 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007412/0.1485, allocations: 477.5 kB / 370.3 MB, free: 1.684 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005458/0.1491, allocations: 0.4941 MB / 370.8 MB, free: 1.188 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006381/0.1497, allocations: 0.5831 MB / 371.4 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.1499, allocations: 76 kB / 371.5 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.15, allocations: 72 kB / 371.5 MB, free: 468 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.1502, allocations: 238.9 kB / 371.8 MB, free: 228 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2018/0.3521, allocations: 282.1 kB / 372.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002881/0.355, allocations: 1.584 MB / 373.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.355, allocations: 2.047 kB / 373.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.355, allocations: 0 / 373.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.536e-05/0.355, allocations: 1.031 kB / 373.6 MB, free: 10.3 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.003321/0.3584, allocations: 1.593 MB / 375.2 MB, free: 9.496 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.3584, allocations: 8.875 kB / 375.2 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002806/0.3587, allocations: 158.9 kB / 375.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.3598, allocations: 0.7081 MB / 376.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.3599, allocations: 91.7 kB / 376.2 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.3602, allocations: 119.8 kB / 376.3 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/0.3629, allocations: 1.322 MB / 377.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.363, allocations: 0.75 kB / 377.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.3631, allocations: 57.95 kB / 377.7 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/0.3631, allocations: 30.25 kB / 377.7 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/0.3656, allocations: 1.153 MB / 378.9 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007105/0.3727, allocations: 5.055 MB / 383.9 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/0.3748, allocations: 1.255 MB / 385.2 MB, free: 6.824 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009942/0.3758, allocations: 0.5434 MB / 385.7 MB, free: 6.801 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.387e-05/0.3759, allocations: 17.73 kB / 385.7 MB, free: 6.797 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.3759, allocations: 43.97 kB / 385.8 MB, free: 6.758 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 2.435e-06/0.3759, allocations: 0 / 385.8 MB, free: 6.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.007511/0.3834, allocations: 3.153 MB / 388.9 MB, free: 5.703 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.3835, allocations: 87.23 kB / 389 MB, free: 5.609 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.3851, allocations: 0.8066 MB / 389.8 MB, free: 5.355 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.485e-05/0.3852, allocations: 40.61 kB / 389.9 MB, free: 5.324 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005443/0.3857, allocations: 0.5863 MB / 390.5 MB, free: 4.969 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.386, allocations: 281.7 kB / 390.7 MB, free: 4.766 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/0.3861, allocations: 20.59 kB / 390.8 MB, free: 4.766 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3862, allocations: 346.5 kB / 391.1 MB, free: 4.445 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009843/0.3872, allocations: 386.5 kB / 391.5 MB, free: 4.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009274/0.3881, allocations: 0.5982 MB / 392.1 MB, free: 3.906 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008496/0.389, allocations: 446.2 kB / 392.5 MB, free: 3.715 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.389, allocations: 1.375 kB / 392.5 MB, free: 3.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003038/0.3921, allocations: 1.411 MB / 393.9 MB, free: 3.094 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.3921, allocations: 12.02 kB / 393.9 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.3921, allocations: 8.328 kB / 393.9 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006998/0.3928, allocations: 237.4 kB / 394.2 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00294/0.3958, allocations: 0.9371 MB / 395.1 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.4061, allocations: 10.21 MB / 405.3 MB, free: 9.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.4072, allocations: 152 kB / 405.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/0.4072, allocations: 36.44 kB / 405.5 MB, free: 9.434 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 (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 7,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005807/0.4078, allocations: 276.7 kB / 405.8 MB, free: 9.199 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.408, allocations: 102.8 kB / 405.9 MB, free: 9.098 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.4082, allocations: 104.9 kB / 406 MB, free: 8.992 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.4082, allocations: 8 kB / 406 MB, free: 8.984 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/0.4082, allocations: 4 kB / 406 MB, free: 8.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.4082, allocations: 3.984 kB / 406 MB, free: 8.977 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004712/0.4129, allocations: 2.528 MB / 408.5 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.413, allocations: 7.984 kB / 408.5 MB, free: 6.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005007/0.4135, allocations: 121.5 kB / 408.6 MB, free: 6.277 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.4147, allocations: 452.1 kB / 409.1 MB, free: 5.82 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.4147, allocations: 20 kB / 409.1 MB, free: 5.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/0.4256, allocations: 10.12 MB / 419.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4256, allocations: 4.031 kB / 419.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00425/0.4299, allocations: 2.037 MB / 421.3 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.4302, allocations: 191.7 kB / 421.4 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.4303, allocations: 12 kB / 421.5 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007069/0.431, allocations: 123.9 kB / 421.6 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.4312, allocations: 62.84 kB / 421.6 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/0.4312, allocations: 27.98 kB / 421.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007403/0.432, allocations: 0.542 MB / 422.2 MB, free: 7.902 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.432, allocations: 0 / 422.2 MB, free: 7.902 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001364/0.4334, allocations: 359 kB / 422.6 MB, free: 7.551 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 5 {1 5,1 5,1 1,1 7,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.4336, allocations: 130.6 kB / 422.7 MB, free: 7.422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.005018/0.4386, allocations: 2.125 MB / 424.8 MB, free: 5.285 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4386, allocations: 0 / 424.8 MB, free: 5.285 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.4401, allocations: 1.18 MB / 426 MB, free: 4.043 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.4412, allocations: 207.2 kB / 426.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/0.4459, allocations: 2.777 MB / 429 MB, free: 1.051 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006334/0.4465, allocations: 1.074 MB / 430 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005085/0.447, allocations: 99.48 kB / 430.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.4472, allocations: 59.44 kB / 430.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4472, allocations: 0 / 430.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of Templates: time 0.02146/0.4687, allocations: 12.93 MB / 443.1 MB, free: 3.023 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins/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