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.00138/0.00138, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001511/0.001511, allocations: 211.5 kB / 24.48 MB, free: 3.941 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.42/1.42, allocations: 230.6 MB / 258.2 MB, free: 7.77 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.001649/0.001649, allocations: 51.92 kB / 379 MB, free: 2.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2265, allocations: 53.36 MB / 432.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004397/0.2309, allocations: 2.879 MB / 435.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.2324, allocations: 0.7637 MB / 436 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.2326, allocations: 7.938 kB / 436 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.2328, allocations: 55.48 kB / 436.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.233, allocations: 119 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.2333, allocations: 135.8 kB / 436.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004969/0.2338, allocations: 454.3 kB / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.234, allocations: 94.42 kB / 436.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003282/0.2344, allocations: 187.3 kB / 437 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.2346, allocations: 167.2 kB / 437.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.616e-05/0.2347, allocations: 44 kB / 437.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.738e-05/0.2347, allocations: 44 kB / 437.3 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.975e-05/0.2348, allocations: 87.69 kB / 437.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.235, allocations: 159.2 kB / 437.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005292/0.2355, allocations: 0.4978 MB / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2355, allocations: 0 / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2355, allocations: 0 / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.2355, allocations: 0 / 438 MB, free: 1 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.001365/0.2369, allocations: 0.6355 MB / 438.7 MB, free: 332 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2369, allocations: 12.02 kB / 438.7 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.542e-05/0.237, allocations: 40.7 kB / 438.7 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.2375, allocations: 253 kB / 439 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/0.2375, allocations: 21.08 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.654e-05/0.2376, allocations: 28.38 kB / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008084/0.2384, allocations: 408.3 kB / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2384, allocations: 3.938 kB / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.2384, allocations: 8 kB / 439.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.2384, allocations: 8 kB / 439.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008651/0.2393, allocations: 306.4 kB / 439.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.2415, allocations: 1.101 MB / 440.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007192/0.2422, allocations: 218.3 kB / 441 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.2426, allocations: 116.8 kB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.2426, allocations: 4.25 kB / 441.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005472/0.2431, allocations: 235.9 kB / 441.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.694e-06/0.2431, allocations: 0 / 441.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002423/0.2455, allocations: 0.6188 MB / 442 MB, free: 12.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.719e-05/0.2456, allocations: 110.8 kB / 442.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/0.246, allocations: 277.8 kB / 442.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.246, allocations: 33.7 kB / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.2462, allocations: 212.3 kB / 442.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.2462, allocations: 51.59 kB / 442.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.2463, allocations: 61.64 kB / 442.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2465, allocations: 338.8 kB / 443.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.2469, allocations: 141.6 kB / 443.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.2474, allocations: 289.8 kB / 443.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000771/0.2481, allocations: 333.9 kB / 443.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2481, allocations: 3.938 kB / 443.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001347/0.2495, allocations: 0.5015 MB / 444.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.2495, allocations: 37.69 kB / 444.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.2495, allocations: 3.938 kB / 444.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003951/0.2499, allocations: 84.88 kB / 444.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.2502, allocations: 55.89 kB / 444.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/0.2529, allocations: 1.863 MB / 446.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.2533, allocations: 59.69 kB / 446.4 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.2533, allocations: 16.11 kB / 446.4 MB, free: 8.082 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.0001902/0.2535, allocations: 156.1 kB / 446.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.2535, allocations: 27.86 kB / 446.6 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.023e-05/0.2536, allocations: 29.8 kB / 446.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2536, allocations: 4 kB / 446.6 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.2536, allocations: 0 / 446.6 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2536, allocations: 3.938 kB / 446.7 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.2539, allocations: 229.1 kB / 446.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2539, allocations: 0 / 446.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.2541, allocations: 31.97 kB / 446.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002815/0.2544, allocations: 84.73 kB / 447 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.2544, allocations: 4 kB / 447 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/0.2567, allocations: 1.675 MB / 448.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2567, allocations: 0 / 448.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.2582, allocations: 0.4889 MB / 449.2 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-05/0.2583, allocations: 35.83 kB / 449.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.2583, allocations: 4 kB / 449.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.2586, allocations: 31.97 kB / 449.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.213e-05/0.2587, allocations: 23.95 kB / 449.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.2587, allocations: 4 kB / 449.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002249/0.2589, allocations: 197.2 kB / 449.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2589, allocations: 0 / 449.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004261/0.2593, allocations: 95.83 kB / 449.5 MB, free: 4.809 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.0001595/0.2595, allocations: 103.2 kB / 449.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.2606, allocations: 466.2 kB / 450.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2606, allocations: 0 / 450.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005038/0.2611, allocations: 243.1 kB / 450.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.2614, allocations: 56.39 kB / 450.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.2628, allocations: 0.6092 MB / 451 MB, free: 3.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.2629, allocations: 155.5 kB / 451.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.913e-05/0.263, allocations: 27.44 kB / 451.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of SimCode: time 1.072e-06/0.263, allocations: 7.938 kB / 451.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of Templates: time 0.008164/0.2712, allocations: 5.242 MB / 456.4 MB, free: 13.82 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/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: 7.453194961883128]