Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00146/0.00146, allocations: 108.2 kB / 21.18 MB, free: 0.6992 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.001677/0.001677, allocations: 216.7 kB / 24.49 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 50.58 kB / 347.2 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3289, allocations: 49.16 MB / 396.4 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.00598/0.3349, allocations: 5.73 MB / 402.1 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003089/0.338, allocations: 1.2 MB / 403.3 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.3391, allocations: 22.28 kB / 403.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005548/0.3396, allocations: 171 kB / 403.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008011/0.3404, allocations: 281.8 kB / 403.8 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006135/0.341, allocations: 225.7 kB / 404 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.3421, allocations: 1.069 MB / 405.1 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005962/0.3427, allocations: 405.1 kB / 405.5 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000496/0.3432, allocations: 424.2 kB / 405.9 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006374/0.3439, allocations: 476.6 kB / 406.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.344, allocations: 102.1 kB / 406.5 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.3442, allocations: 97.12 kB / 406.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.3444, allocations: 214.9 kB / 406.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005576/0.345, allocations: 0.5034 MB / 407.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.3465, allocations: 1.107 MB / 408.4 MB, free: 1.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3465, allocations: 0.75 kB / 408.4 MB, free: 1.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3465, allocations: 5.188 kB / 408.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.088e-05/0.3465, allocations: 0 / 408.4 MB, free: 1.422 MB / 318.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.002291/0.3488, allocations: 1.183 MB / 409.6 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.3488, allocations: 13.58 kB / 409.6 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/0.349, allocations: 150.9 kB / 409.7 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.3492, allocations: 115.2 kB / 409.8 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007487/0.3499, allocations: 392.5 kB / 410.2 MB, free: 240 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.565e-05/0.35, allocations: 76.23 kB / 410.3 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.3501, allocations: 93.19 kB / 410.4 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.3517, allocations: 0.8799 MB / 411.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.3517, allocations: 3.938 kB / 411.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.407e-05/0.3518, allocations: 42 kB / 411.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.039e-05/0.3518, allocations: 23.19 kB / 411.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.3529, allocations: 0.5708 MB / 411.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004896/0.3578, allocations: 2.87 MB / 414.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.3583, allocations: 265.1 kB / 415 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003866/0.3587, allocations: 245.5 kB / 415.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.3587, allocations: 3.594 kB / 415.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.3588, allocations: 38 kB / 415.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.895e-06/0.3588, allocations: 0 / 415.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001551/0.3603, allocations: 0.574 MB / 415.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.3604, allocations: 59.47 kB / 415.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007352/0.3611, allocations: 0.5073 MB / 416.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.3612, allocations: 36.98 kB / 416.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003707/0.3616, allocations: 0.494 MB / 417 MB, free: 11.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.3618, allocations: 165.3 kB / 417.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.362, allocations: 140.2 kB / 417.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.3622, allocations: 363.5 kB / 417.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.3625, allocations: 172.3 kB / 417.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005285/0.363, allocations: 457.5 kB / 418.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008722/0.3639, allocations: 0.6415 MB / 418.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.3639, allocations: 3.469 kB / 418.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001517/0.3654, allocations: 0.7566 MB / 419.7 MB, free: 9.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.3654, allocations: 9.719 kB / 419.7 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.3654, allocations: 9.062 kB / 419.7 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003252/0.3658, allocations: 87.84 kB / 419.8 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/0.3664, allocations: 197.6 kB / 419.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.3688, allocations: 1.894 MB / 421.8 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007274/0.3695, allocations: 89.83 kB / 421.9 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/0.3696, allocations: 36.84 kB / 422 MB, free: 7.801 MB / 334.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.0004158/0.37, allocations: 213.5 kB / 422.2 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.3701, allocations: 62.84 kB / 422.2 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.3703, allocations: 62.39 kB / 422.3 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.3703, allocations: 5.188 kB / 422.3 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/0.3703, allocations: 5.203 kB / 422.3 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.3703, allocations: 3.984 kB / 422.3 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.3713, allocations: 0.6286 MB / 422.9 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3713, allocations: 0 / 422.9 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004623/0.3718, allocations: 102.4 kB / 423 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002497/0.372, allocations: 68.89 kB / 423.1 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.3721, allocations: 10.75 kB / 423.1 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/0.3743, allocations: 1.877 MB / 425 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3743, allocations: 0 / 425 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.3755, allocations: 0.6671 MB / 425.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.3757, allocations: 63.23 kB / 425.7 MB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.097e-05/0.3757, allocations: 10.69 kB / 425.7 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.3761, allocations: 43.66 kB / 425.8 MB, free: 4.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/0.3762, allocations: 29.94 kB / 425.8 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.3763, allocations: 17.17 kB / 425.8 MB, free: 4.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000419/0.3767, allocations: 345.5 kB / 426.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3767, allocations: 0 / 426.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001064/0.3777, allocations: 246.2 kB / 426.4 MB, free: 4.414 MB / 334.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.001551/0.3793, allocations: 1.218 MB / 427.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.3805, allocations: 0.5624 MB / 428.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.3805, allocations: 0 / 428.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005274/0.381, allocations: 306 kB / 428.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006967/0.3817, allocations: 118.7 kB / 428.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008153/0.3898, allocations: 5.495 MB / 434.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006285/0.3905, allocations: 0.9335 MB / 435 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003229/0.3908, allocations: 73.2 kB / 435.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.3911, allocations: 263.3 kB / 435.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of SimCode: time 1.173e-06/0.3911, allocations: 0 / 435.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05883/0.45, allocations: 13.43 MB / 448.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.29, allocations: 8.828 kB / 448.8 MB, free: 13.52 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 17.42588863801211]