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.001367/0.001367, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001585/0.001585, allocations: 209.3 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.571/1.571, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 47.91 kB / 378.2 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.267, allocations: 53.37 MB / 431.6 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009153/0.2762, allocations: 6.865 MB / 438.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004656/0.2808, allocations: 1.886 MB / 440.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007931/0.2816, allocations: 31.81 kB / 440.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000551/0.2822, allocations: 233.7 kB / 440.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009947/0.2832, allocations: 452.3 kB / 441.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009875/0.2842, allocations: 0.5033 MB / 441.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001956/0.2861, allocations: 1.802 MB / 443.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007283/0.2868, allocations: 440.3 kB / 443.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008441/0.2877, allocations: 0.6579 MB / 444.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008552/0.2885, allocations: 0.7155 MB / 445.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002397/0.2888, allocations: 180 kB / 445.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.2891, allocations: 180 kB / 445.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003132/0.2894, allocations: 362.8 kB / 445.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006819/0.29, allocations: 0.63 MB / 446.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002213/0.2923, allocations: 2.068 MB / 448.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.2923, allocations: 7.984 kB / 448.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2923, allocations: 0 / 448.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.737e-05/0.2923, allocations: 0 / 448.6 MB, free: 5.617 MB / 350.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.003655/0.296, allocations: 1.748 MB / 450.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.296, allocations: 8.031 kB / 450.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002587/0.2963, allocations: 172 kB / 450.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.2975, allocations: 0.6932 MB / 451.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-05/0.2976, allocations: 94.39 kB / 451.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/0.2978, allocations: 120 kB / 451.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002858/0.3006, allocations: 1.639 MB / 453.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.3007, allocations: 0 / 453.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.3008, allocations: 56 kB / 453.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.99e-05/0.3008, allocations: 28 kB / 453.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002748/0.3036, allocations: 1.118 MB / 454.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008448/0.312, allocations: 4.237 MB / 458.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/0.3145, allocations: 0.9914 MB / 459.5 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.3158, allocations: 490 kB / 460 MB, free: 9.832 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.272e-05/0.3158, allocations: 12.66 kB / 460 MB, free: 9.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.3159, allocations: 47.22 kB / 460 MB, free: 9.766 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.986e-06/0.3159, allocations: 0 / 460 MB, free: 9.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.009232/0.3251, allocations: 2.469 MB / 462.5 MB, free: 7.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.967e-05/0.3252, allocations: 85.77 kB / 462.6 MB, free: 7.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.3266, allocations: 0.7545 MB / 463.3 MB, free: 6.406 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.3267, allocations: 37.7 kB / 463.4 MB, free: 6.363 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005982/0.3273, allocations: 0.6131 MB / 464 MB, free: 5.742 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000321/0.3276, allocations: 293.4 kB / 464.3 MB, free: 5.453 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002853/0.3279, allocations: 170.6 kB / 464.4 MB, free: 5.281 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002956/0.3282, allocations: 398.7 kB / 464.8 MB, free: 4.883 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.3292, allocations: 365.8 kB / 465.2 MB, free: 4.523 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.3303, allocations: 0.5824 MB / 465.8 MB, free: 3.855 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/0.3323, allocations: 0.9442 MB / 466.7 MB, free: 2.824 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.3323, allocations: 7.938 kB / 466.7 MB, free: 2.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003444/0.3357, allocations: 1.354 MB / 468.1 MB, free: 1.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.3358, allocations: 11.94 kB / 468.1 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.3358, allocations: 8 kB / 468.1 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008612/0.3366, allocations: 222.7 kB / 468.3 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00375/0.3404, allocations: 0.8311 MB / 469.1 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/0.3553, allocations: 10.06 MB / 479.2 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009853/0.3563, allocations: 139.3 kB / 479.3 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-05/0.3563, allocations: 39.98 kB / 479.4 MB, free: 5.523 MB / 382.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.0005404/0.3569, allocations: 277.8 kB / 479.6 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.357, allocations: 91.44 kB / 479.7 MB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.3572, allocations: 108.1 kB / 479.8 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.3572, allocations: 8 kB / 479.8 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.3572, allocations: 0 / 479.8 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.3573, allocations: 3.984 kB / 479.8 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005098/0.3623, allocations: 2.138 MB / 482 MB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3624, allocations: 0 / 482 MB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005601/0.3629, allocations: 127.9 kB / 482.1 MB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001374/0.3643, allocations: 420.8 kB / 482.5 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/0.3643, allocations: 16 kB / 482.5 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/0.3778, allocations: 10.09 MB / 492.6 MB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.3778, allocations: 11.95 kB / 492.6 MB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00515/0.383, allocations: 1.925 MB / 494.6 MB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003606/0.3834, allocations: 107.3 kB / 494.7 MB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.3835, allocations: 20 kB / 494.7 MB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007768/0.3842, allocations: 95.92 kB / 494.8 MB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.3844, allocations: 72.45 kB / 494.8 MB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.447e-05/0.3845, allocations: 28.23 kB / 494.9 MB, free: 5.266 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007971/0.3853, allocations: 0.4991 MB / 495.4 MB, free: 4.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3853, allocations: 0 / 495.4 MB, free: 4.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001432/0.3867, allocations: 371.1 kB / 495.7 MB, free: 4.406 MB / 398.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.000221/0.3869, allocations: 135.3 kB / 495.9 MB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006039/0.393, allocations: 1.948 MB / 497.8 MB, free: 2.273 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.393, allocations: 0 / 497.8 MB, free: 2.273 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001854/0.3948, allocations: 1.145 MB / 499 MB, free: 1.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.396, allocations: 180 kB / 499.1 MB, free: 0.8867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005091/0.4011, allocations: 2.317 MB / 0.4897 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000563/0.4017, allocations: 500 kB / 0.4902 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003901/0.4021, allocations: 94.83 kB / 0.4903 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.4022, allocations: 51.44 kB / 0.4903 GB, free: 13.86 MB / 414.1 MB Notification: Performance of SimCode: time 1.233e-06/0.4022, allocations: 0 / 0.4903 GB, free: 13.86 MB / 414.1 MB Notification: Performance of Templates: time 0.02837/0.4306, allocations: 15.09 MB / 0.5051 GB, free: 14.95 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] 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: 5.439850124064833]