Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.001572/0.001572, allocations: 112.5 kB / 18.45 MB, free: 4.543 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.001651/0.001651, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.588/1.588, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 51.94 kB / 374.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1076, allocations: 53.34 MB / 427.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004723/0.1123, allocations: 3.1 MB / 430.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.114, allocations: 0.8104 MB / 431.4 MB, free: 308 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.1142, allocations: 4 kB / 431.4 MB, free: 304 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.1144, allocations: 51.44 kB / 431.5 MB, free: 252 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.1146, allocations: 123 kB / 431.6 MB, free: 128 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2136/0.3282, allocations: 129.5 kB / 431.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007813/0.329, allocations: 450.7 kB / 432.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.3293, allocations: 101.3 kB / 432.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000409/0.3297, allocations: 186.2 kB / 432.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.3299, allocations: 187.2 kB / 432.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.815e-05/0.33, allocations: 49 kB / 432.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.47e-05/0.33, allocations: 44.38 kB / 432.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.3301, allocations: 90.28 kB / 432.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.3303, allocations: 195.1 kB / 433 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005449/0.3308, allocations: 0.4927 MB / 433.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3308, allocations: 1.734 kB / 433.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3308, allocations: 0.7812 kB / 433.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.3308, allocations: 0 / 433.5 MB, free: 8.012 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001273/0.3321, allocations: 0.7166 MB / 434.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3321, allocations: 10.62 kB / 434.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.633e-05/0.3322, allocations: 43.38 kB / 434.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.3326, allocations: 317.7 kB / 434.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.3327, allocations: 17.38 kB / 434.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.3327, allocations: 32.62 kB / 434.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007326/0.3335, allocations: 351.7 kB / 435 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3335, allocations: 0 / 435 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.3335, allocations: 13.88 kB / 435 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.3335, allocations: 7.594 kB / 435 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008482/0.3344, allocations: 304.8 kB / 435.3 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.3365, allocations: 1.267 MB / 436.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008237/0.3373, allocations: 323.5 kB / 436.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/0.3378, allocations: 129 kB / 437 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.3378, allocations: 2.141 kB / 437 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005066/0.3383, allocations: 206.2 kB / 437.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.913e-06/0.3383, allocations: 1.156 kB / 437.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002419/0.3407, allocations: 0.643 MB / 437.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.3408, allocations: 107.2 kB / 438 MB, free: 6.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.3411, allocations: 298.4 kB / 438.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.3411, allocations: 31.86 kB / 438.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.3413, allocations: 206.8 kB / 438.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.3413, allocations: 64.84 kB / 438.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.3414, allocations: 54.27 kB / 438.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.821e-05/0.3415, allocations: 337 kB / 438.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.3419, allocations: 121.7 kB / 439.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004422/0.3424, allocations: 210.2 kB / 439.3 MB, free: 5.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007871/0.3431, allocations: 343.1 kB / 439.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3431, allocations: 4.938 kB / 439.6 MB, free: 5.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00131/0.3445, allocations: 483.9 kB / 440.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.3445, allocations: 32.81 kB / 440.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.3445, allocations: 4.016 kB / 440.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003222/0.3448, allocations: 70.03 kB / 440.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.3451, allocations: 68.55 kB / 440.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.3472, allocations: 1.63 MB / 441.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.3477, allocations: 64.42 kB / 441.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.3477, allocations: 10.25 kB / 441.9 MB, free: 3.344 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001815/0.3479, allocations: 156.7 kB / 442.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.3479, allocations: 29.08 kB / 442.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.15e-05/0.348, allocations: 32.33 kB / 442.2 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.348, allocations: 3.172 kB / 442.2 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.348, allocations: 4.875 kB / 442.2 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.348, allocations: 1.891 kB / 442.2 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.3496, allocations: 0.7992 MB / 443 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3496, allocations: 1.094 kB / 443 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.3499, allocations: 48.36 kB / 443 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002275/0.3501, allocations: 58.86 kB / 443.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.3501, allocations: 9.859 kB / 443.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.352, allocations: 1.628 MB / 444.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.352, allocations: 1.781 kB / 444.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.3536, allocations: 0.559 MB / 445.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.3537, allocations: 114.9 kB / 445.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.3538, allocations: 7.234 kB / 445.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/0.3541, allocations: 29.8 kB / 445.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.3542, allocations: 28.52 kB / 445.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.3542, allocations: 3.938 kB / 445.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002415/0.3544, allocations: 207.7 kB / 445.7 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3544, allocations: 1.125 kB / 445.7 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004746/0.3549, allocations: 85.45 kB / 445.7 MB, free: 0.6992 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001572/0.3551, allocations: 106.6 kB / 445.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.3561, allocations: 446.5 kB / 446.3 MB, free: 372 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3561, allocations: 0.6875 kB / 446.3 MB, free: 372 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004563/0.3566, allocations: 237 kB / 446.5 MB, free: 224 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.357, allocations: 48.55 kB / 446.6 MB, free: 208 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.3601, allocations: 0.8792 MB / 447.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/0.3606, allocations: 0.7643 MB / 448.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.3607, allocations: 28.67 kB / 448.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of SimCode: time 1.743e-06/0.3607, allocations: 0 / 448.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of Templates: time 0.009653/0.3704, allocations: 5.31 MB / 453.5 MB, free: 13.94 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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: 7.813358343002619]