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.001781/0.001781, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002258/0.002258, allocations: 215.2 kB / 23.75 MB, free: 4.668 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.001607/0.001607, allocations: 47.94 kB / 378.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2958, allocations: 53.37 MB / 431.7 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004994/0.3008, allocations: 3.126 MB / 434.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.3026, allocations: 0.8026 MB / 435.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.3028, allocations: 15.94 kB / 435.6 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.303, allocations: 51.5 kB / 435.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.3032, allocations: 119 kB / 435.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.3035, allocations: 127.8 kB / 435.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005421/0.3041, allocations: 462.2 kB / 436.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.3044, allocations: 95.47 kB / 436.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003645/0.3047, allocations: 187.3 kB / 436.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.305, allocations: 191.2 kB / 436.8 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-05/0.3051, allocations: 44 kB / 436.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.918e-05/0.3051, allocations: 44 kB / 436.9 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.212e-05/0.3052, allocations: 87.69 kB / 437 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.3054, allocations: 191.1 kB / 437.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005944/0.306, allocations: 0.4954 MB / 437.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.306, allocations: 0 / 437.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.306, allocations: 0 / 437.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.306, allocations: 0 / 437.7 MB, free: 0.8906 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.001433/0.3075, allocations: 0.6355 MB / 438.3 MB, free: 220 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3075, allocations: 16.03 kB / 438.3 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.509e-05/0.3076, allocations: 40.64 kB / 438.4 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005156/0.3081, allocations: 257 kB / 438.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.3081, allocations: 17.03 kB / 438.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/0.3082, allocations: 32.31 kB / 438.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007629/0.309, allocations: 364.9 kB / 439 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.309, allocations: 0 / 439 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.309, allocations: 12 kB / 439 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.309, allocations: 8 kB / 439 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008289/0.3099, allocations: 302.4 kB / 439.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.3121, allocations: 1.237 MB / 440.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006781/0.3128, allocations: 214.4 kB / 440.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003383/0.3131, allocations: 112.8 kB / 440.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.3131, allocations: 4.234 kB / 440.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004902/0.3136, allocations: 193.7 kB / 441.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.3136, allocations: 0 / 441.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002384/0.316, allocations: 0.6089 MB / 441.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.68e-05/0.3161, allocations: 114.7 kB / 441.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.3165, allocations: 296.2 kB / 442.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.3165, allocations: 33.7 kB / 442.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.3167, allocations: 216 kB / 442.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.295e-05/0.3167, allocations: 47.58 kB / 442.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.3168, allocations: 61.64 kB / 442.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.317, allocations: 342.8 kB / 442.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003672/0.3174, allocations: 111.9 kB / 442.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.3178, allocations: 208.7 kB / 443.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007496/0.3186, allocations: 319.7 kB / 443.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3186, allocations: 0 / 443.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001306/0.3199, allocations: 494.2 kB / 443.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/0.3199, allocations: 37.64 kB / 443.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.3199, allocations: 4 kB / 443.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004097/0.3203, allocations: 88.8 kB / 444 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.3206, allocations: 55.95 kB / 444.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/0.3234, allocations: 1.894 MB / 446 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/0.3238, allocations: 51.84 kB / 446 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.3239, allocations: 16 kB / 446 MB, free: 8.055 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.0002006/0.3241, allocations: 157.8 kB / 446.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/0.3241, allocations: 31.84 kB / 446.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.832e-05/0.3242, allocations: 29.8 kB / 446.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3242, allocations: 3.938 kB / 446.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.3242, allocations: 0 / 446.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3242, allocations: 0 / 446.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.3246, allocations: 316.5 kB / 446.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3246, allocations: 0 / 446.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.3248, allocations: 27.97 kB / 446.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002873/0.325, allocations: 80.8 kB / 446.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.3251, allocations: 11.94 kB / 446.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/0.3276, allocations: 1.705 MB / 448.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3276, allocations: 4.031 kB / 448.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.329, allocations: 0.4928 MB / 448.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.3291, allocations: 27.83 kB / 448.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.3292, allocations: 11.94 kB / 448.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.3294, allocations: 31.95 kB / 448.9 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.419e-05/0.3295, allocations: 23.91 kB / 449 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.3295, allocations: 4 kB / 449 MB, free: 4.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000249/0.3298, allocations: 215.1 kB / 449.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3298, allocations: 4 kB / 449.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004303/0.3302, allocations: 83.83 kB / 449.3 MB, free: 4.621 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.0001368/0.3303, allocations: 103.2 kB / 449.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.3314, allocations: 437.9 kB / 449.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3314, allocations: 0 / 449.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005076/0.3319, allocations: 243.1 kB / 450 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.3323, allocations: 48.94 kB / 450.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.3336, allocations: 0.5995 MB / 450.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.3341, allocations: 0.7678 MB / 451.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.3342, allocations: 26.97 kB / 451.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.3343, allocations: 19.44 kB / 451.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3343, allocations: 0 / 451.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of Templates: time 0.01179/0.3461, allocations: 4.683 MB / 456.2 MB, free: 13.66 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins/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.757700289133936]