Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 47.92 kB / 371.7 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2356, allocations: 52.18 MB / 423.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.0073/0.2429, allocations: 5.796 MB / 429.7 MB, free: 9.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.2453, allocations: 1.176 MB / 430.9 MB, free: 7.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003851/0.2457, allocations: 19.94 kB / 430.9 MB, free: 7.805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003997/0.2461, allocations: 174.3 kB / 431.1 MB, free: 7.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005801/0.2466, allocations: 281.5 kB / 431.4 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.2471, allocations: 223.6 kB / 431.6 MB, free: 7.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.2482, allocations: 1.056 MB / 432.6 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006321/0.2489, allocations: 407 kB / 433 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004636/0.2493, allocations: 426.6 kB / 433.5 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006105/0.2499, allocations: 473.9 kB / 433.9 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.2501, allocations: 96 kB / 434 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.2502, allocations: 100 kB / 434.1 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.2504, allocations: 231.2 kB / 434.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004736/0.2509, allocations: 0.4938 MB / 434.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.2521, allocations: 1.114 MB / 435.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2521, allocations: 0 / 435.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2521, allocations: 0 / 435.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.2521, allocations: 0 / 435.9 MB, free: 2.742 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002089/0.2542, allocations: 1.187 MB / 437.1 MB, free: 1.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.2542, allocations: 12.03 kB / 437.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.2544, allocations: 108.3 kB / 437.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007166/0.2551, allocations: 397.5 kB / 437.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.985e-05/0.2552, allocations: 74.38 kB / 437.7 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.2553, allocations: 100.3 kB / 437.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.2567, allocations: 0.8717 MB / 438.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.2568, allocations: 0 / 438.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.871e-05/0.2568, allocations: 36 kB / 438.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.2569, allocations: 24 kB / 438.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.2579, allocations: 0.5777 MB / 439.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004643/0.2626, allocations: 2.872 MB / 442.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/0.263, allocations: 262.5 kB / 442.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003642/0.2634, allocations: 224.8 kB / 442.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.2634, allocations: 7.938 kB / 442.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.509e-05/0.2634, allocations: 38.56 kB / 442.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.164e-06/0.2634, allocations: 7.938 kB / 442.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001527/0.265, allocations: 0.5721 MB / 443.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.265, allocations: 59.41 kB / 443.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006431/0.2657, allocations: 0.5142 MB / 443.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.2657, allocations: 33.7 kB / 443.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/0.2661, allocations: 0.4953 MB / 444.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.2662, allocations: 158.6 kB / 444.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.2664, allocations: 134.6 kB / 444.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.2666, allocations: 366.8 kB / 445 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.2669, allocations: 173.9 kB / 445.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005322/0.2674, allocations: 449.6 kB / 445.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008969/0.2683, allocations: 0.6508 MB / 446.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.2683, allocations: 4 kB / 446.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00139/0.2697, allocations: 0.7559 MB / 447.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.2697, allocations: 12 kB / 447.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.2698, allocations: 8 kB / 447.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003167/0.2701, allocations: 92.69 kB / 447.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006884/0.2708, allocations: 195.9 kB / 447.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.273, allocations: 1.899 MB / 449.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005041/0.2735, allocations: 83.36 kB / 449.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.405e-05/0.2736, allocations: 47.98 kB / 449.4 MB, free: 4.633 MB / 350.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.0003084/0.2739, allocations: 219.6 kB / 449.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.769e-05/0.274, allocations: 55.67 kB / 449.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.2741, allocations: 69.5 kB / 449.7 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2741, allocations: 4 kB / 449.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.2741, allocations: 0 / 449.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2741, allocations: 3.984 kB / 449.7 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007919/0.2749, allocations: 0.6094 MB / 450.3 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2749, allocations: 0 / 450.3 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004249/0.2753, allocations: 107.9 kB / 450.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/0.2755, allocations: 68.8 kB / 450.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.2756, allocations: 12 kB / 450.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.2776, allocations: 1.888 MB / 452.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2776, allocations: 3.938 kB / 452.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.2787, allocations: 0.6585 MB / 453.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.2788, allocations: 55.61 kB / 453.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.2788, allocations: 12.06 kB / 453.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.2792, allocations: 43.97 kB / 453.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.2793, allocations: 27.94 kB / 453.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.2793, allocations: 20 kB / 453.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004045/0.2797, allocations: 342.9 kB / 453.6 MB, free: 280 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2797, allocations: 0 / 453.6 MB, free: 280 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007849/0.2805, allocations: 251.4 kB / 453.8 MB, free: 28 kB / 350.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.0002086/0.2807, allocations: 111.2 kB / 453.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.2818, allocations: 0.5654 MB / 454.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2818, allocations: 0 / 454.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005011/0.2823, allocations: 306.8 kB / 454.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005934/0.2829, allocations: 121.6 kB / 454.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.2854, allocations: 1.446 MB / 456.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/0.286, allocations: 0.9297 MB / 457.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.2861, allocations: 43.44 kB / 457.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2861, allocations: 0 / 457.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of Templates: time 0.01636/0.3024, allocations: 11.1 MB / 468.4 MB, free: 1.344 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.167520085116848]