Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.001974/0.001974, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002295/0.002295, allocations: 210.7 kB / 24.48 MB, free: 3.977 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.458/1.458, allocations: 230.6 MB / 258.2 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.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 51.86 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2555, allocations: 53.37 MB / 432.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004427/0.2599, allocations: 2.875 MB / 435.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.2614, allocations: 0.7676 MB / 436 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.2616, allocations: 11.94 kB / 436 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.2618, allocations: 51.44 kB / 436.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.262, allocations: 119.1 kB / 436.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.2623, allocations: 127.8 kB / 436.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005136/0.2629, allocations: 458.2 kB / 436.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.2631, allocations: 102.4 kB / 436.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000325/0.2634, allocations: 183.4 kB / 437 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.2636, allocations: 183.2 kB / 437.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.514e-05/0.2637, allocations: 44 kB / 437.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.206e-05/0.2638, allocations: 48 kB / 437.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.552e-05/0.2639, allocations: 91.67 kB / 437.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.264, allocations: 167.2 kB / 437.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005397/0.2646, allocations: 0.49 MB / 438 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2646, allocations: 0 / 438 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2646, allocations: 4 kB / 438.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.2646, allocations: 0 / 438.1 MB, free: 0.9766 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001419/0.266, allocations: 0.6394 MB / 438.7 MB, free: 304 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.266, allocations: 8.031 kB / 438.7 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.963e-05/0.2661, allocations: 40.7 kB / 438.7 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.2666, allocations: 257 kB / 439 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.2666, allocations: 29.03 kB / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.31e-05/0.2667, allocations: 24.38 kB / 439 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008451/0.2675, allocations: 408.3 kB / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.2675, allocations: 0 / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.2676, allocations: 12 kB / 439.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.2676, allocations: 8 kB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008808/0.2685, allocations: 294.4 kB / 439.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002207/0.2707, allocations: 1.108 MB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007108/0.2714, allocations: 226.3 kB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/0.2717, allocations: 104.8 kB / 441.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.2718, allocations: 256 / 441.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005308/0.2723, allocations: 243.6 kB / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.2723, allocations: 4 kB / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002455/0.2747, allocations: 0.611 MB / 442 MB, free: 12.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.2748, allocations: 106.8 kB / 442.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.2752, allocations: 293.8 kB / 442.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.2752, allocations: 29.7 kB / 442.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.2753, allocations: 212.3 kB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.862e-05/0.2754, allocations: 51.59 kB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.2755, allocations: 53.66 kB / 442.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2757, allocations: 338.8 kB / 443.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.2761, allocations: 141.6 kB / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004992/0.2766, allocations: 289.8 kB / 443.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008148/0.2774, allocations: 329.7 kB / 443.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2774, allocations: 4 kB / 443.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00144/0.2788, allocations: 0.5047 MB / 444.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/0.2789, allocations: 33.77 kB / 444.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.2789, allocations: 11.94 kB / 444.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004058/0.2793, allocations: 84.73 kB / 444.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.2796, allocations: 55.91 kB / 444.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002914/0.2825, allocations: 1.868 MB / 446.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.2828, allocations: 63.73 kB / 446.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.2829, allocations: 16 kB / 446.5 MB, free: 8.051 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 (26): * Single equations (assignments): 24 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001703/0.283, allocations: 149.7 kB / 446.6 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.2831, allocations: 23.86 kB / 446.6 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.285e-05/0.2831, allocations: 29.77 kB / 446.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2831, allocations: 0 / 446.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.2831, allocations: 0 / 446.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.2831, allocations: 7.922 kB / 446.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.2834, allocations: 225.2 kB / 446.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2834, allocations: 0 / 446.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.2836, allocations: 35.91 kB / 446.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003209/0.284, allocations: 84.8 kB / 447 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.284, allocations: 0 / 447 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002511/0.2865, allocations: 1.686 MB / 448.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2865, allocations: 0 / 448.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.288, allocations: 0.4927 MB / 449.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.2881, allocations: 31.77 kB / 449.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.2881, allocations: 8 kB / 449.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.2884, allocations: 31.95 kB / 449.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/0.2885, allocations: 19.91 kB / 449.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.2885, allocations: 12.06 kB / 449.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002365/0.2887, allocations: 201.2 kB / 449.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2887, allocations: 0 / 449.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004201/0.2891, allocations: 87.83 kB / 449.6 MB, free: 4.773 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001376/0.2893, allocations: 99.23 kB / 449.7 MB, free: 4.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.2904, allocations: 471.4 kB / 450.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2904, allocations: 0 / 450.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005274/0.2909, allocations: 239.2 kB / 450.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.2913, allocations: 40.48 kB / 450.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.2925, allocations: 0.588 MB / 451 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.2927, allocations: 167.3 kB / 451.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.2928, allocations: 30.28 kB / 451.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/0.2929, allocations: 19.44 kB / 451.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2929, allocations: 0 / 451.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of Templates: time 0.009709/0.3026, allocations: 4.795 MB / 456 MB, free: 14.31 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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: 4.524083817013889]