Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007465/0.0007465, allocations: 90.59 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009164/0.0009164, allocations: 199.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 227.8 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001944/0.0001944, allocations: 8 kB / 307.8 MB, free: 0.7188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08969/0.0899, allocations: 51.52 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005258/0.09519, allocations: 5.323 MB / 364.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.09743, allocations: 1.192 MB / 365.9 MB, free: 6.652 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005856/0.09804, allocations: 16 kB / 365.9 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.09843, allocations: 135 kB / 366 MB, free: 6.504 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007706/0.09921, allocations: 230.1 kB / 366.2 MB, free: 6.277 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.09969, allocations: 187.8 kB / 366.4 MB, free: 6.094 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.1008, allocations: 1.021 MB / 367.4 MB, free: 5.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006208/0.1014, allocations: 448.5 kB / 367.9 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004193/0.1019, allocations: 342.7 kB / 368.2 MB, free: 4.273 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000451/0.1023, allocations: 402 kB / 368.6 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.755e-05/0.1024, allocations: 52 kB / 368.7 MB, free: 3.828 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.968e-05/0.1025, allocations: 56 kB / 368.7 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.1027, allocations: 167.2 kB / 368.9 MB, free: 3.609 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.103, allocations: 471.3 kB / 369.3 MB, free: 3.141 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007157/0.1037, allocations: 1.027 MB / 370.4 MB, free: 2.109 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1038, allocations: 7.938 kB / 370.4 MB, free: 2.102 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1038, allocations: 0 / 370.4 MB, free: 2.102 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.1038, allocations: 0 / 370.4 MB, free: 2.102 MB / 302.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.001471/0.1052, allocations: 1.08 MB / 371.5 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1053, allocations: 12.03 kB / 371.5 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/0.1054, allocations: 144.1 kB / 371.6 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.1056, allocations: 103.7 kB / 371.7 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005473/0.1061, allocations: 455.1 kB / 372.1 MB, free: 232 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.736e-05/0.1062, allocations: 70.38 kB / 372.2 MB, free: 160 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.1063, allocations: 92.38 kB / 372.3 MB, free: 68 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1447/0.2511, allocations: 0.8667 MB / 373.2 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.2511, allocations: 4.031 kB / 373.2 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.485e-05/0.2512, allocations: 41.69 kB / 373.2 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.2512, allocations: 26.09 kB / 373.2 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009535/0.2522, allocations: 0.5717 MB / 373.8 MB, free: 18.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003998/0.2562, allocations: 2.979 MB / 376.8 MB, free: 17.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.2566, allocations: 298.9 kB / 377.1 MB, free: 17.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/0.2569, allocations: 273.4 kB / 377.4 MB, free: 17.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.257, allocations: 4.125 kB / 377.4 MB, free: 17.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.257, allocations: 46.69 kB / 377.4 MB, free: 17.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.683e-06/0.257, allocations: 0 / 377.4 MB, free: 17.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001311/0.2583, allocations: 0.6674 MB / 378.1 MB, free: 16.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.2583, allocations: 56 kB / 378.1 MB, free: 16.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000536/0.2589, allocations: 0.5067 MB / 378.6 MB, free: 16.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.2589, allocations: 37.61 kB / 378.7 MB, free: 16.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.2591, allocations: 491 kB / 379.1 MB, free: 16.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.732e-05/0.2592, allocations: 157.2 kB / 379.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-05/0.2593, allocations: 67.23 kB / 379.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.6e-05/0.2594, allocations: 365.5 kB / 379.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.2596, allocations: 169 kB / 379.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/0.26, allocations: 454.7 kB / 380.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006325/0.2607, allocations: 0.6592 MB / 381 MB, free: 14.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.2607, allocations: 3.656 kB / 381 MB, free: 14.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001076/0.2618, allocations: 0.7612 MB / 381.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.2618, allocations: 8.844 kB / 381.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.2618, allocations: 10.22 kB / 381.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000268/0.2621, allocations: 87.89 kB / 381.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/0.2627, allocations: 200.6 kB / 382.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.264, allocations: 1.807 MB / 383.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004433/0.2645, allocations: 83.89 kB / 383.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.2646, allocations: 32.52 kB / 384 MB, free: 12.48 MB / 302.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.0002025/0.2648, allocations: 223.4 kB / 384.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.3e-05/0.2648, allocations: 62.44 kB / 384.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.56e-05/0.2649, allocations: 66.05 kB / 384.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2649, allocations: 5.188 kB / 384.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.265, allocations: 1.562 kB / 384.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.265, allocations: 6.469 kB / 384.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006441/0.2656, allocations: 0.6479 MB / 385 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2656, allocations: 0.875 kB / 385 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/0.266, allocations: 100.8 kB / 385.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001842/0.2662, allocations: 73.05 kB / 385.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.2662, allocations: 10.98 kB / 385.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.2675, allocations: 1.8 MB / 387 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2675, allocations: 0 / 387 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008332/0.2683, allocations: 0.6586 MB / 387.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.247e-05/0.2684, allocations: 136.5 kB / 387.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.376e-05/0.2685, allocations: 10.53 kB / 387.8 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.2689, allocations: 50.83 kB / 387.8 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/0.2689, allocations: 27.58 kB / 387.8 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.269, allocations: 17.55 kB / 387.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003432/0.2693, allocations: 348.4 kB / 388.2 MB, free: 9.523 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2693, allocations: 0 / 388.2 MB, free: 9.523 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007042/0.27, allocations: 249.3 kB / 388.4 MB, free: 9.461 MB / 302.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.001017/0.2711, allocations: 1.221 MB / 389.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008674/0.2719, allocations: 0.6011 MB / 390.3 MB, free: 8.277 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.272, allocations: 0.8125 kB / 390.3 MB, free: 8.277 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.2724, allocations: 318.3 kB / 390.6 MB, free: 8.094 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005741/0.2729, allocations: 116.3 kB / 390.7 MB, free: 8.047 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00606/0.279, allocations: 6.103 MB / 396.8 MB, free: 3.898 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.2794, allocations: 0.9292 MB / 397.7 MB, free: 3.191 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002892/0.2797, allocations: 67.19 kB / 397.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.2799, allocations: 264.3 kB / 398 MB, free: 2.965 MB / 302.1 MB Notification: Performance of SimCode: time 1.222e-06/0.2799, allocations: 0 / 398 MB, free: 2.965 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.3022, allocations: 11.95 MB / 410 MB, free: 9.582 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/0.3024, allocations: 223.5 kB / 410.2 MB, free: 9.328 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.111, allocations: 0 / 410.2 MB, free: 9.328 MB / 318.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches