Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00143/0.00143, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 230.5 MB / 258.1 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 67.89 kB / 379.1 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.238, allocations: 53.41 MB / 432.5 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004705/0.2427, allocations: 3.14 MB / 435.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.2443, allocations: 0.7792 MB / 436.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002845/0.2446, allocations: 7.938 kB / 436.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.2448, allocations: 47.5 kB / 436.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.2452, allocations: 131 kB / 436.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.2455, allocations: 111.9 kB / 436.7 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006047/0.2461, allocations: 462.1 kB / 437.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.2464, allocations: 99.45 kB / 437.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004269/0.2468, allocations: 187.3 kB / 437.4 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003321/0.2471, allocations: 183.2 kB / 437.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.402e-05/0.2472, allocations: 48 kB / 437.6 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.897e-05/0.2473, allocations: 48 kB / 437.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.339e-05/0.2474, allocations: 95.62 kB / 437.8 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.2476, allocations: 203 kB / 438 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006036/0.2482, allocations: 0.4954 MB / 438.5 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2482, allocations: 0 / 438.5 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2482, allocations: 0 / 438.5 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.2482, allocations: 4 kB / 438.5 MB, free: 0.7227 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001388/0.2496, allocations: 0.6277 MB / 439.1 MB, free: 56 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.2496, allocations: 11.97 kB / 439.1 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.2498, allocations: 45.39 kB / 439.2 MB, free: 0 / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/0.2503, allocations: 268.9 kB / 439.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.2504, allocations: 25.02 kB / 439.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.2504, allocations: 31.56 kB / 439.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007184/0.2511, allocations: 302 kB / 439.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2511, allocations: 7.938 kB / 439.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.2512, allocations: 12 kB / 439.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.2512, allocations: 8 kB / 439.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007274/0.2519, allocations: 278.5 kB / 440.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.2541, allocations: 1.143 MB / 441.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006625/0.2548, allocations: 230.4 kB / 441.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.2552, allocations: 116.8 kB / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.2552, allocations: 0 / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/0.2556, allocations: 209.6 kB / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.432e-06/0.2557, allocations: 0 / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.00159/0.2572, allocations: 430 kB / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.99e-05/0.2573, allocations: 132.5 kB / 442.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.2577, allocations: 300.2 kB / 442.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.2577, allocations: 29.7 kB / 442.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.2579, allocations: 208.4 kB / 442.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.112e-05/0.258, allocations: 75.41 kB / 442.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.2581, allocations: 61.94 kB / 443 MB, free: 12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2582, allocations: 334.8 kB / 443.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.2585, allocations: 104.2 kB / 443.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.2589, allocations: 205 kB / 443.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006427/0.2596, allocations: 315.5 kB / 443.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.2596, allocations: 4 kB / 443.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00101/0.2606, allocations: 427.4 kB / 444.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.709e-05/0.2606, allocations: 36.2 kB / 444.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.2606, allocations: 4.297 kB / 444.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003095/0.261, allocations: 60.84 kB / 444.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.2613, allocations: 67.89 kB / 444.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.2631, allocations: 1.501 MB / 446 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.2634, allocations: 55.75 kB / 446 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.2635, allocations: 12.09 kB / 446.1 MB, free: 8.664 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,firstOrder.opAmp.satNeg,firstOrder.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001854/0.2636, allocations: 165.2 kB / 446.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.2637, allocations: 39.81 kB / 446.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.058e-05/0.2638, allocations: 30.33 kB / 446.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2638, allocations: 4 kB / 446.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2638, allocations: 3.984 kB / 446.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2638, allocations: 0 / 446.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.2651, allocations: 0.724 MB / 447 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2651, allocations: 0 / 447 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.2654, allocations: 47.89 kB / 447.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002222/0.2656, allocations: 52.84 kB / 447.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.2656, allocations: 7.984 kB / 447.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001653/0.2673, allocations: 1.492 MB / 448.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2673, allocations: 0 / 448.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.2684, allocations: 0.5084 MB / 449.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/0.2685, allocations: 35.77 kB / 449.2 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.81e-05/0.2685, allocations: 4 kB / 449.2 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.2688, allocations: 31.97 kB / 449.2 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.653e-05/0.2689, allocations: 31.89 kB / 449.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.2689, allocations: 4.188 kB / 449.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002384/0.2691, allocations: 211.1 kB / 449.4 MB, free: 5.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2691, allocations: 4.062 kB / 449.4 MB, free: 5.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004036/0.2695, allocations: 83.89 kB / 449.5 MB, free: 4.996 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: 5 ($whenCondition1,firstOrder.opAmp.satPos,firstOrder.opAmp.satNeg,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 (18): * Single equations (assignments): 15 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001476/0.2697, allocations: 114.2 kB / 449.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009213/0.2706, allocations: 420.9 kB / 450 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2706, allocations: 0 / 450 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000459/0.2711, allocations: 241.1 kB / 450.3 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.2715, allocations: 57.52 kB / 450.3 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.2733, allocations: 0.6922 MB / 451 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.2737, allocations: 0.7717 MB / 451.8 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.014e-05/0.2738, allocations: 23.44 kB / 451.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2738, allocations: 0 / 451.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of Templates: time 0.008957/0.2828, allocations: 5.499 MB / 457.3 MB, free: 13.11 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.619249203009531]