Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.00127/0.00127, allocations: 115.8 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.001823/0.001823, allocations: 210.1 kB / 23.74 MB, free: 4.672 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.561/1.561, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 55.91 kB / 378.3 MB, free: 2.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.303, allocations: 53.36 MB / 431.7 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007118/0.3101, allocations: 5.815 MB / 437.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.3126, allocations: 1.204 MB / 438.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004044/0.313, allocations: 19.94 kB / 438.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004079/0.3134, allocations: 174.3 kB / 438.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005655/0.314, allocations: 289.4 kB / 439.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.3145, allocations: 219.6 kB / 439.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.3156, allocations: 1.064 MB / 440.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000628/0.3162, allocations: 409.4 kB / 440.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004673/0.3167, allocations: 426.6 kB / 441.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006215/0.3173, allocations: 474 kB / 441.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.3174, allocations: 99.94 kB / 441.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.3176, allocations: 96 kB / 441.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.3177, allocations: 215.3 kB / 442.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005113/0.3183, allocations: 0.5054 MB / 442.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.3195, allocations: 1.112 MB / 443.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3195, allocations: 0 / 443.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3195, allocations: 0 / 443.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.012e-05/0.3195, allocations: 0 / 443.7 MB, free: 10.74 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002117/0.3216, allocations: 1.183 MB / 444.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.3217, allocations: 12.03 kB / 444.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.3219, allocations: 108.3 kB / 445 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008555/0.3227, allocations: 405.5 kB / 445.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.649e-05/0.3228, allocations: 74.36 kB / 445.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.323, allocations: 96.38 kB / 445.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.3245, allocations: 0.8678 MB / 446.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.3245, allocations: 3.938 kB / 446.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.412e-05/0.3246, allocations: 36 kB / 446.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.3246, allocations: 24 kB / 446.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.3256, allocations: 0.57 MB / 447.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004441/0.3301, allocations: 2.872 MB / 450 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.3305, allocations: 271 kB / 450.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/0.3309, allocations: 228.8 kB / 450.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.3309, allocations: 7.938 kB / 450.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/0.3309, allocations: 46.56 kB / 450.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.254e-06/0.3309, allocations: 0 / 450.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001433/0.3324, allocations: 0.572 MB / 451.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.3324, allocations: 55.41 kB / 451.1 MB, free: 3.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006322/0.333, allocations: 0.5181 MB / 451.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.3331, allocations: 33.7 kB / 451.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/0.3334, allocations: 0.4953 MB / 452.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.3336, allocations: 162.6 kB / 452.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.3338, allocations: 134.6 kB / 452.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.334, allocations: 366.8 kB / 452.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.3343, allocations: 173.9 kB / 453 MB, free: 1.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005382/0.3348, allocations: 453.5 kB / 453.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008917/0.3357, allocations: 0.6508 MB / 454.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.3357, allocations: 4 kB / 454.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001293/0.337, allocations: 0.7559 MB / 454.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.337, allocations: 8 kB / 454.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.3371, allocations: 8 kB / 454.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000338/0.3374, allocations: 89.03 kB / 455 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/0.3381, allocations: 191.7 kB / 455.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.3402, allocations: 1.895 MB / 457 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004827/0.3406, allocations: 95.34 kB / 457.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.414e-05/0.3407, allocations: 40 kB / 457.2 MB, free: 12.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003397/0.341, allocations: 209.8 kB / 457.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.3411, allocations: 59.62 kB / 457.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.3412, allocations: 69.5 kB / 457.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.3412, allocations: 7.938 kB / 457.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.3412, allocations: 0 / 457.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.3413, allocations: 7.922 kB / 457.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008211/0.3421, allocations: 0.6248 MB / 458.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3421, allocations: 0 / 458.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004102/0.3425, allocations: 95.94 kB / 458.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002276/0.3427, allocations: 72.73 kB / 458.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.3427, allocations: 11.98 kB / 458.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/0.3447, allocations: 1.883 MB / 460.2 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3447, allocations: 0 / 460.2 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.3458, allocations: 0.6625 MB / 460.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.3459, allocations: 55.61 kB / 460.9 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/0.3459, allocations: 12.34 kB / 460.9 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.3463, allocations: 51.97 kB / 461 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/0.3464, allocations: 31.94 kB / 461 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.3464, allocations: 15.94 kB / 461 MB, free: 8.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004125/0.3468, allocations: 342.9 kB / 461.4 MB, free: 8.262 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3468, allocations: 0 / 461.4 MB, free: 8.262 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008136/0.3477, allocations: 247.5 kB / 461.6 MB, free: 8.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001639/0.3478, allocations: 115.2 kB / 461.7 MB, free: 7.895 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.3489, allocations: 0.5619 MB / 462.3 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3489, allocations: 0 / 462.3 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004815/0.3494, allocations: 310.3 kB / 462.6 MB, free: 7.004 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000568/0.35, allocations: 128.3 kB / 462.7 MB, free: 6.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.3524, allocations: 1.41 MB / 464.1 MB, free: 5.445 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/0.3529, allocations: 0.9336 MB / 465.1 MB, free: 4.484 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002392/0.3532, allocations: 73.2 kB / 465.1 MB, free: 4.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.352e-05/0.3533, allocations: 43.44 kB / 465.2 MB, free: 4.367 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3533, allocations: 0 / 465.2 MB, free: 4.367 MB / 366.1 MB Notification: Performance of Templates: time 0.01518/0.3685, allocations: 7.729 MB / 472.9 MB, free: 12.71 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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: 5.091467733960599]