Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.225/1.225, allocations: 205.1 MB / 223.7 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008644/0.0008644, allocations: 92.92 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 47.92 kB / 327.2 MB, free: 324 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2196, allocations: 46.62 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003755/0.2234, allocations: 2.871 MB / 376.7 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.2247, allocations: 0.749 MB / 377.4 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.2248, allocations: 4.625 kB / 377.5 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.225, allocations: 36.02 kB / 377.5 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.2252, allocations: 84.38 kB / 377.6 MB, free: 42.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.2254, allocations: 92.25 kB / 377.7 MB, free: 42.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.2257, allocations: 371.9 kB / 378 MB, free: 42.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.2259, allocations: 82.88 kB / 378.1 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.2261, allocations: 127.6 kB / 378.2 MB, free: 42.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.2262, allocations: 160.7 kB / 378.4 MB, free: 42.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.913e-05/0.2263, allocations: 19.91 kB / 378.4 MB, free: 42.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.874e-05/0.2263, allocations: 19.38 kB / 378.4 MB, free: 42.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.2264, allocations: 62.62 kB / 378.5 MB, free: 42.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.2265, allocations: 150.5 kB / 378.6 MB, free: 42.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.2269, allocations: 341.2 kB / 379 MB, free: 41.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2269, allocations: 0 / 379 MB, free: 41.92 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2269, allocations: 1.062 kB / 379 MB, free: 41.92 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.2269, allocations: 0 / 379 MB, free: 41.92 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001195/0.2281, allocations: 0.6624 MB / 379.6 MB, free: 41.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2281, allocations: 8.781 kB / 379.6 MB, free: 41.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.843e-05/0.2282, allocations: 37.91 kB / 379.7 MB, free: 41.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.2285, allocations: 286.5 kB / 380 MB, free: 41.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.2285, allocations: 18.97 kB / 380 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.2286, allocations: 22.44 kB / 380 MB, free: 41.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/0.2291, allocations: 269.1 kB / 380.3 MB, free: 40.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2291, allocations: 0 / 380.3 MB, free: 40.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.2292, allocations: 10.5 kB / 380.3 MB, free: 40.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.2292, allocations: 5.438 kB / 380.3 MB, free: 40.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007143/0.2299, allocations: 264.8 kB / 380.5 MB, free: 40.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.2312, allocations: 0.9134 MB / 381.4 MB, free: 39.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006566/0.2318, allocations: 244.9 kB / 381.7 MB, free: 39.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.2321, allocations: 105.5 kB / 381.8 MB, free: 39.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.2322, allocations: 5.391 kB / 381.8 MB, free: 39.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004171/0.2326, allocations: 182 kB / 382 MB, free: 39.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.2326, allocations: 0 / 382 MB, free: 39.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001938/0.2345, allocations: 0.6144 MB / 382.6 MB, free: 39.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.2346, allocations: 113.6 kB / 382.7 MB, free: 39.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.2348, allocations: 267.1 kB / 383 MB, free: 38.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.2349, allocations: 34.86 kB / 383 MB, free: 38.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.235, allocations: 187.8 kB / 383.2 MB, free: 38.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.235, allocations: 49.3 kB / 383.2 MB, free: 38.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.549e-05/0.2351, allocations: 51.11 kB / 383.3 MB, free: 38.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.906e-05/0.2351, allocations: 336.6 kB / 383.6 MB, free: 38.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.2354, allocations: 104.9 kB / 383.7 MB, free: 38.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.2358, allocations: 161.3 kB / 383.9 MB, free: 38.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005575/0.2363, allocations: 258.1 kB / 384.1 MB, free: 37.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2364, allocations: 1.094 kB / 384.1 MB, free: 37.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001045/0.2374, allocations: 430.6 kB / 384.5 MB, free: 37.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.2374, allocations: 32.3 kB / 384.6 MB, free: 37.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.2375, allocations: 5.25 kB / 384.6 MB, free: 37.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004635/0.2379, allocations: 114.7 kB / 384.7 MB, free: 37.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.2381, allocations: 48.39 kB / 384.7 MB, free: 37.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.2398, allocations: 1.688 MB / 386.4 MB, free: 36.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/0.2402, allocations: 48.58 kB / 386.5 MB, free: 36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.2402, allocations: 11.75 kB / 386.5 MB, free: 36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003543/0.2406, allocations: 185.3 kB / 386.7 MB, free: 35.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002978/0.2409, allocations: 158.7 kB / 386.8 MB, free: 35.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005069/0.2414, allocations: 247.8 kB / 387.1 MB, free: 35.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.2414, allocations: 0 / 387.1 MB, free: 35.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0007582/0.2422, allocations: 352 kB / 387.4 MB, free: 35.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.2422, allocations: 34.52 kB / 387.4 MB, free: 35.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.2422, allocations: 1.25 kB / 387.4 MB, free: 35.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001036/0.2423, allocations: 50.61 kB / 387.5 MB, free: 35.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.2425, allocations: 51.89 kB / 387.5 MB, free: 35.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007897/0.2433, allocations: 1.541 MB / 389.1 MB, free: 33.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.2436, allocations: 47.88 kB / 389.1 MB, free: 33.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.2436, allocations: 4 kB / 389.1 MB, free: 33.49 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 19 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 9.934e-05/0.2437, allocations: 196.2 kB / 389.3 MB, free: 33.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.2438, allocations: 27.7 kB / 389.3 MB, free: 33.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.472e-05/0.2438, allocations: 22.19 kB / 389.4 MB, free: 33.24 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2438, allocations: 7.938 kB / 389.4 MB, free: 33.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2438, allocations: 0 / 389.4 MB, free: 33.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2439, allocations: 7.984 kB / 389.4 MB, free: 33.22 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.2441, allocations: 309.3 kB / 389.7 MB, free: 32.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2441, allocations: 3.938 kB / 389.7 MB, free: 32.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.2443, allocations: 27.97 kB / 389.7 MB, free: 32.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002125/0.2445, allocations: 69 kB / 389.8 MB, free: 32.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.2445, allocations: 7.922 kB / 389.8 MB, free: 32.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.2458, allocations: 1.597 MB / 391.4 MB, free: 31.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2459, allocations: 3.938 kB / 391.4 MB, free: 31.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0058/0.2517, allocations: 4.008 MB / 395.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.2517, allocations: 100.8 kB / 395.5 MB, free: 26.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.2518, allocations: 4 kB / 395.5 MB, free: 26.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.252, allocations: 32.08 kB / 395.5 MB, free: 26.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.556e-05/0.2521, allocations: 27.97 kB / 395.6 MB, free: 26.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.2521, allocations: 4 kB / 395.6 MB, free: 26.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.2522, allocations: 186 kB / 395.7 MB, free: 26.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2522, allocations: 0 / 395.7 MB, free: 26.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006707/0.2529, allocations: 211.6 kB / 396 MB, free: 26.16 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (11): * Single equations (assignments): 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001179/0.253, allocations: 111.2 kB / 396.1 MB, free: 26.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.2542, allocations: 0.7092 MB / 396.8 MB, free: 25.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2542, allocations: 0 / 396.8 MB, free: 25.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.2546, allocations: 233.4 kB / 397 MB, free: 25.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.2549, allocations: 52.84 kB / 397 MB, free: 25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.256, allocations: 0.9282 MB / 398 MB, free: 24.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.2561, allocations: 0.7645 MB / 398.7 MB, free: 23.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000134/0.2562, allocations: 30.28 kB / 398.8 MB, free: 23.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.2563, allocations: 19.44 kB / 398.8 MB, free: 23.18 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2563, allocations: 0 / 398.8 MB, free: 23.18 MB / 298.7 MB Notification: Performance of Templates: time 0.007/0.2633, allocations: 5.102 MB / 403.9 MB, free: 18.09 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches