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.001579/0.001579, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001753/0.001753, allocations: 209.9 kB / 24.48 MB, free: 3.957 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.447/1.447, allocations: 230.5 MB / 258.1 MB, free: 7.75 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.002038/0.002038, allocations: 67.89 kB / 379 MB, free: 2.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2327, allocations: 53.41 MB / 432.4 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004409/0.2371, allocations: 2.879 MB / 435.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.2386, allocations: 0.7442 MB / 436.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.2388, allocations: 7.938 kB / 436.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.239, allocations: 51.5 kB / 436.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.2392, allocations: 127 kB / 436.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.2395, allocations: 107.8 kB / 436.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004827/0.24, allocations: 458.2 kB / 436.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.2402, allocations: 99.09 kB / 436.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003043/0.2405, allocations: 183.3 kB / 437.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.2407, allocations: 171.2 kB / 437.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.576e-05/0.2408, allocations: 44 kB / 437.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.398e-05/0.2409, allocations: 44 kB / 437.3 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.322e-05/0.241, allocations: 91.67 kB / 437.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.2411, allocations: 171.2 kB / 437.6 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005379/0.2417, allocations: 0.501 MB / 438.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2417, allocations: 3.938 kB / 438.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2417, allocations: 4 kB / 438.1 MB, free: 0.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.2417, allocations: 0 / 438.1 MB, free: 0.832 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.001258/0.243, allocations: 0.6315 MB / 438.7 MB, free: 164 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.243, allocations: 15.98 kB / 438.7 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.864e-05/0.2431, allocations: 40.7 kB / 438.8 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.2435, allocations: 256.9 kB / 439 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.2436, allocations: 21.03 kB / 439 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.994e-05/0.2436, allocations: 36.36 kB / 439.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/0.2443, allocations: 391.1 kB / 439.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.2444, allocations: 0 / 439.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.2444, allocations: 12 kB / 439.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.2444, allocations: 4 kB / 439.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007105/0.2451, allocations: 286.4 kB / 439.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.2471, allocations: 0.9996 MB / 440.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/0.2478, allocations: 229.5 kB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.2481, allocations: 127.5 kB / 441.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.2481, allocations: 8 kB / 441.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004836/0.2486, allocations: 272.1 kB / 441.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.863e-06/0.2486, allocations: 4 kB / 441.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001463/0.2501, allocations: 429.9 kB / 441.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.017e-05/0.2502, allocations: 132.5 kB / 441.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.2505, allocations: 285.8 kB / 442.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.2505, allocations: 33.7 kB / 442.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.2507, allocations: 212.3 kB / 442.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.599e-05/0.2508, allocations: 71.41 kB / 442.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.2509, allocations: 57.98 kB / 442.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.251, allocations: 334.8 kB / 442.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.2513, allocations: 133.9 kB / 443 MB, free: 11.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004428/0.2518, allocations: 311.9 kB / 443.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/0.2524, allocations: 323.3 kB / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2524, allocations: 0 / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001029/0.2535, allocations: 457.4 kB / 444.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.2535, allocations: 33.7 kB / 444.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.2535, allocations: 4 kB / 444.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002953/0.2538, allocations: 60.89 kB / 444.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.2541, allocations: 71.86 kB / 444.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.2558, allocations: 1.47 MB / 445.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.2562, allocations: 59.8 kB / 445.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.2562, allocations: 12 kB / 445.8 MB, free: 8.59 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.0001785/0.2564, allocations: 153.3 kB / 446 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.2564, allocations: 23.86 kB / 446 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.401e-05/0.2565, allocations: 34.11 kB / 446 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2565, allocations: 7.938 kB / 446 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.2565, allocations: 4 kB / 446 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2565, allocations: 3.984 kB / 446 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.2578, allocations: 0.6349 MB / 446.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2578, allocations: 0 / 446.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.258, allocations: 47.94 kB / 446.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002227/0.2582, allocations: 56.8 kB / 446.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.2583, allocations: 0 / 446.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/0.2599, allocations: 1.473 MB / 448.2 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.2599, allocations: 3.938 kB / 448.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.2611, allocations: 0.5009 MB / 448.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.287e-05/0.2611, allocations: 35.72 kB / 448.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.2612, allocations: 4 kB / 448.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.2615, allocations: 32.02 kB / 448.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.705e-05/0.2615, allocations: 31.95 kB / 448.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.2616, allocations: 4 kB / 448.8 MB, free: 5.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002206/0.2618, allocations: 201.2 kB / 449 MB, free: 5.168 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2618, allocations: 4 kB / 449 MB, free: 5.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003954/0.2622, allocations: 83.89 kB / 449.1 MB, free: 5.082 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.0001489/0.2623, allocations: 103.1 kB / 449.2 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009245/0.2633, allocations: 453.1 kB / 449.7 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2633, allocations: 0 / 449.7 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004546/0.2637, allocations: 243.1 kB / 449.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.2641, allocations: 64.2 kB / 450 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.2659, allocations: 0.6768 MB / 450.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.2661, allocations: 165.2 kB / 450.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.896e-05/0.2662, allocations: 31.42 kB / 450.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2662, allocations: 0 / 450.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of Templates: time 0.008364/0.2746, allocations: 5.533 MB / 456.4 MB, free: 13.74 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.390482225921005]