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.001447/0.001447, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002384/0.002384, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 64.2 kB / 307 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1159, allocations: 50.53 MB / 357.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.008032/0.124, allocations: 5.779 MB / 363.4 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002945/0.127, allocations: 1.2 MB / 364.6 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000964/0.128, allocations: 19.94 kB / 364.6 MB, free: 6.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007187/0.1288, allocations: 174.4 kB / 364.7 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.1306, allocations: 273.5 kB / 365 MB, free: 6.488 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.1318, allocations: 223.6 kB / 365.2 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002157/0.1339, allocations: 1.052 MB / 366.3 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.1352, allocations: 0.518 MB / 366.8 MB, free: 4.672 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008554/0.1361, allocations: 414.6 kB / 367.2 MB, free: 4.266 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000916/0.137, allocations: 477.9 kB / 367.7 MB, free: 3.797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002658/0.1373, allocations: 100 kB / 367.8 MB, free: 3.699 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003293/0.1377, allocations: 96 kB / 367.9 MB, free: 3.605 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.1379, allocations: 219.2 kB / 368.1 MB, free: 3.391 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008749/0.1388, allocations: 0.5016 MB / 368.6 MB, free: 2.887 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.1401, allocations: 1.09 MB / 369.7 MB, free: 1.793 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1401, allocations: 4 kB / 369.7 MB, free: 1.789 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.1401, allocations: 0 / 369.7 MB, free: 1.789 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.687e-05/0.1402, allocations: 0 / 369.7 MB, free: 1.789 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.002936/0.1432, allocations: 1.232 MB / 370.9 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.1432, allocations: 16.03 kB / 370.9 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002467/0.1435, allocations: 152.1 kB / 371.1 MB, free: 344 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.1437, allocations: 111.7 kB / 371.2 MB, free: 232 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1719/0.3156, allocations: 439.3 kB / 371.6 MB, free: 19.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/0.3157, allocations: 73.66 kB / 371.7 MB, free: 19.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.3159, allocations: 94 kB / 371.8 MB, free: 19.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.3177, allocations: 0.8673 MB / 372.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.3178, allocations: 6.406 kB / 372.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.111e-05/0.3178, allocations: 42.19 kB / 372.7 MB, free: 19.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.3179, allocations: 22.69 kB / 372.7 MB, free: 19.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.319, allocations: 0.5705 MB / 373.3 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004389/0.3234, allocations: 2.96 MB / 376.2 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.3238, allocations: 300.2 kB / 376.5 MB, free: 17.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.3242, allocations: 272 kB / 376.8 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.3242, allocations: 4.562 kB / 376.8 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.3242, allocations: 42.25 kB / 376.8 MB, free: 17.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.915e-06/0.3243, allocations: 0 / 376.8 MB, free: 17.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001698/0.326, allocations: 0.6547 MB / 377.5 MB, free: 17.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.326, allocations: 56.77 kB / 377.6 MB, free: 17.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005977/0.3266, allocations: 0.5071 MB / 378.1 MB, free: 16.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.3267, allocations: 37.19 kB / 378.1 MB, free: 16.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.3269, allocations: 488.4 kB / 378.6 MB, free: 16.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.983e-05/0.327, allocations: 156.3 kB / 378.7 MB, free: 16.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.3272, allocations: 134.5 kB / 378.9 MB, free: 16.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.583e-05/0.3273, allocations: 369.3 kB / 379.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.3276, allocations: 176 kB / 379.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.328, allocations: 451.6 kB / 379.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006915/0.3287, allocations: 0.6496 MB / 380.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.3287, allocations: 2.406 kB / 380.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001058/0.3298, allocations: 0.762 MB / 381.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.3298, allocations: 9.656 kB / 381.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.3298, allocations: 8.5 kB / 381.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002929/0.3301, allocations: 84.8 kB / 381.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006821/0.3308, allocations: 199.2 kB / 381.5 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.3324, allocations: 2.003 MB / 383.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005076/0.333, allocations: 89.75 kB / 383.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.333, allocations: 37.3 kB / 383.7 MB, free: 12.66 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.0002459/0.3333, allocations: 219 kB / 383.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.231e-05/0.3334, allocations: 57.62 kB / 383.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.916e-05/0.3335, allocations: 62.36 kB / 384 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3335, allocations: 8.188 kB / 384 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.3335, allocations: 1.375 kB / 384 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.3335, allocations: 8.219 kB / 384 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007924/0.3343, allocations: 0.643 MB / 384.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3343, allocations: 1.062 kB / 384.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.3347, allocations: 96.22 kB / 384.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002099/0.335, allocations: 76.41 kB / 384.8 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.335, allocations: 8.719 kB / 384.8 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.3363, allocations: 1.985 MB / 386.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3364, allocations: 1.734 kB / 386.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008462/0.3372, allocations: 0.6577 MB / 387.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.86e-05/0.3373, allocations: 138.5 kB / 387.6 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/0.3374, allocations: 11.45 kB / 387.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.3378, allocations: 48.89 kB / 387.7 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.968e-05/0.3379, allocations: 27.94 kB / 387.7 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.3379, allocations: 10.33 kB / 387.7 MB, free: 9.703 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003859/0.3383, allocations: 348.5 kB / 388.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3383, allocations: 4 kB / 388.1 MB, free: 9.535 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009943/0.3393, allocations: 244.8 kB / 388.3 MB, free: 9.477 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.001108/0.3404, allocations: 1.217 MB / 389.5 MB, free: 8.574 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.3415, allocations: 0.6057 MB / 390.1 MB, free: 8.289 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3415, allocations: 1.531 kB / 390.1 MB, free: 8.289 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004328/0.3419, allocations: 317.7 kB / 390.4 MB, free: 8.105 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006491/0.3426, allocations: 122.6 kB / 390.6 MB, free: 8.059 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006311/0.3489, allocations: 5.65 MB / 396.2 MB, free: 4.297 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.3493, allocations: 0.9329 MB / 397.1 MB, free: 3.586 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003637/0.3497, allocations: 73.78 kB / 397.2 MB, free: 3.562 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.35, allocations: 261.3 kB / 397.5 MB, free: 3.359 MB / 302.1 MB Notification: Performance of SimCode: time 9.22e-07/0.35, allocations: 0 / 397.5 MB, free: 3.359 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04006/0.39, allocations: 12.57 MB / 410 MB, free: 9.219 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.449/9.839, allocations: 8.062 kB / 410 MB, free: 9.211 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