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.001811/0.001811, allocations: 115.6 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.00223/0.00223, allocations: 214.1 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.53/1.53, allocations: 230.6 MB / 257.5 MB, free: 7.992 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 47.92 kB / 377.8 MB, free: 3.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2953, allocations: 53.37 MB / 431.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007909/0.3032, allocations: 5.807 MB / 437 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002688/0.3059, allocations: 1.208 MB / 438.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000829/0.3067, allocations: 23.94 kB / 438.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006051/0.3073, allocations: 170.3 kB / 438.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009526/0.3083, allocations: 281.3 kB / 438.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005733/0.3089, allocations: 227.6 kB / 438.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.3101, allocations: 1.064 MB / 440 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006395/0.3107, allocations: 402.8 kB / 440.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004773/0.3112, allocations: 430.6 kB / 440.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005967/0.3118, allocations: 477.9 kB / 441.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.312, allocations: 100 kB / 441.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.3121, allocations: 96 kB / 441.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.3123, allocations: 211.3 kB / 441.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004643/0.3128, allocations: 0.5132 MB / 442.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.3139, allocations: 1.101 MB / 443.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3139, allocations: 4 kB / 443.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3139, allocations: 3.938 kB / 443.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.3139, allocations: 0 / 443.3 MB, free: 10.69 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.002018/0.3159, allocations: 1.183 MB / 444.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.316, allocations: 8.031 kB / 444.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001715/0.3161, allocations: 152.1 kB / 444.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.3163, allocations: 112.3 kB / 444.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007101/0.317, allocations: 393.5 kB / 445.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.724e-05/0.3171, allocations: 78.38 kB / 445.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.3172, allocations: 92.38 kB / 445.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.3186, allocations: 0.8714 MB / 446.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.3186, allocations: 4 kB / 446.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.248e-05/0.3187, allocations: 36 kB / 446.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.3187, allocations: 24 kB / 446.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.3197, allocations: 0.5777 MB / 446.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004296/0.324, allocations: 2.872 MB / 449.6 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.3245, allocations: 267 kB / 449.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.3248, allocations: 228.7 kB / 450.1 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.3249, allocations: 7.938 kB / 450.1 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.3249, allocations: 42.56 kB / 450.2 MB, free: 3.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.094e-06/0.3249, allocations: 0 / 450.2 MB, free: 3.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001427/0.3263, allocations: 0.5721 MB / 450.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.3264, allocations: 63.34 kB / 450.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00058/0.3269, allocations: 0.5103 MB / 451.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.327, allocations: 41.7 kB / 451.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.3273, allocations: 499.2 kB / 451.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.3275, allocations: 162.6 kB / 452 MB, free: 1.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.3276, allocations: 138.6 kB / 452.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.3278, allocations: 366.8 kB / 452.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002975/0.3281, allocations: 173.9 kB / 452.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/0.3286, allocations: 445.6 kB / 453.1 MB, free: 436 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008422/0.3295, allocations: 0.6547 MB / 453.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3295, allocations: 7.938 kB / 453.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001248/0.3307, allocations: 0.752 MB / 454.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3307, allocations: 8 kB / 454.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.3307, allocations: 12 kB / 454.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002881/0.331, allocations: 84.75 kB / 454.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006726/0.3317, allocations: 203.8 kB / 454.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.3337, allocations: 1.895 MB / 456.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.3342, allocations: 87.3 kB / 456.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.3342, allocations: 39.94 kB / 456.8 MB, free: 12.43 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.0002772/0.3345, allocations: 209.7 kB / 457 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.079e-05/0.3346, allocations: 63.62 kB / 457.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.3347, allocations: 65.5 kB / 457.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3347, allocations: 12.27 kB / 457.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3347, allocations: 0 / 457.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3347, allocations: 3.984 kB / 457.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008539/0.3356, allocations: 0.6209 MB / 457.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3356, allocations: 0 / 457.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/0.336, allocations: 107.9 kB / 457.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002061/0.3362, allocations: 68.8 kB / 458 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.3362, allocations: 8 kB / 458 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001915/0.3382, allocations: 1.879 MB / 459.9 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3382, allocations: 3.938 kB / 459.9 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009902/0.3392, allocations: 0.6585 MB / 460.5 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.3393, allocations: 59.61 kB / 460.6 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/0.3393, allocations: 12.06 kB / 460.6 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003852/0.3397, allocations: 43.97 kB / 460.6 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.914e-05/0.3398, allocations: 27.94 kB / 460.7 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.3398, allocations: 16.28 kB / 460.7 MB, free: 8.402 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000398/0.3402, allocations: 346.9 kB / 461 MB, free: 8.066 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3402, allocations: 0 / 461 MB, free: 8.066 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007458/0.3409, allocations: 251.3 kB / 461.3 MB, free: 7.82 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.001311/0.3423, allocations: 1.226 MB / 462.5 MB, free: 6.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000996/0.3433, allocations: 0.5527 MB / 463 MB, free: 5.996 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3433, allocations: 0 / 463 MB, free: 5.996 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00048/0.3437, allocations: 316 kB / 463.4 MB, free: 5.676 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006128/0.3443, allocations: 118.5 kB / 463.5 MB, free: 5.562 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007367/0.3517, allocations: 5.49 MB / 469 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/0.3523, allocations: 0.9259 MB / 469.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002745/0.3525, allocations: 73.19 kB / 470 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.3529, allocations: 263.4 kB / 470.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3529, allocations: 0 / 470.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04945/0.4023, allocations: 13.43 MB / 483.6 MB, free: 1.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.59, allocations: 2.406 kB / 483.6 MB, free: 1.23 MB / 382.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/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: 15.351462103193626]