Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.0008277/0.0008277, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007947/0.0007947, allocations: 174 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8532/0.8532, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061e-05/1.169e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.002968/0.002979, allocations: 3.407 MB / 328 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.004524, allocations: 1.398 MB / 329.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.004672, allocations: 16 kB / 329.4 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009202/0.005592, allocations: 0.7308 MB / 330.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005472/0.006139, allocations: 393.5 kB / 330.5 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005202/0.006659, allocations: 0.5242 MB / 331 MB, free: 9.457 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.006971, allocations: 477.5 kB / 331.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004438/0.007415, allocations: 426.8 kB / 331.9 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.007686, allocations: 311.2 kB / 332.2 MB, free: 8.266 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.007857, allocations: 207.4 kB / 332.4 MB, free: 8.062 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.007899, allocations: 48 kB / 332.5 MB, free: 8.016 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.008137, allocations: 211.6 kB / 332.7 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.008193, allocations: 115.6 kB / 332.8 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.16e-05/0.008285, allocations: 155.6 kB / 332.9 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.008792, allocations: 0.7204 MB / 333.7 MB, free: 6.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.008793, allocations: 0 / 333.7 MB, free: 6.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.008794, allocations: 4 kB / 333.7 MB, free: 6.816 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.008799, allocations: 0 / 333.7 MB, free: 6.816 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001154/0.009953, allocations: 0.8446 MB / 334.5 MB, free: 5.941 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.009986, allocations: 12.03 kB / 334.5 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.01009, allocations: 103.9 kB / 334.6 MB, free: 5.816 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.0117, allocations: 472.2 kB / 335.1 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.01199, allocations: 249.1 kB / 335.3 MB, free: 5.086 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.01202, allocations: 41.69 kB / 335.4 MB, free: 5.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/0.01207, allocations: 52.36 kB / 335.4 MB, free: 4.996 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005934/0.01266, allocations: 0.5631 MB / 336 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.01268, allocations: 192 / 336 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.01271, allocations: 27.94 kB / 336 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.01272, allocations: 12 kB / 336 MB, free: 4.379 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006375/0.01336, allocations: 0.5751 MB / 336.6 MB, free: 3.805 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.01512, allocations: 1.603 MB / 338.2 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008558/0.01598, allocations: 0.5508 MB / 338.7 MB, free: 1.578 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.01625, allocations: 234.2 kB / 339 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.11e-05/0.0163, allocations: 16.48 kB / 339 MB, free: 1.332 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.01633, allocations: 43.05 kB / 339 MB, free: 1.281 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.623e-06/0.01633, allocations: 0 / 339 MB, free: 1.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001023/0.01735, allocations: 0.6732 MB / 339.7 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.01738, allocations: 55.91 kB / 339.8 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.01751, allocations: 198 kB / 340 MB, free: 332 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.01754, allocations: 29.7 kB / 340 MB, free: 296 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/0.01763, allocations: 229 kB / 340.2 MB, free: 64 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.184e-05/0.01772, allocations: 162.8 kB / 340.4 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.01781, allocations: 86.14 kB / 340.5 MB, free: 15.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.0179, allocations: 338.8 kB / 340.8 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.01808, allocations: 152.9 kB / 340.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.0183, allocations: 237.9 kB / 341.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/0.01873, allocations: 425.9 kB / 341.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.01873, allocations: 3.75 kB / 341.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006049/0.01934, allocations: 0.5373 MB / 342.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.01935, allocations: 4 kB / 342.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01936, allocations: 4 kB / 342.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002198/0.01958, allocations: 76.81 kB / 342.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.01977, allocations: 103.8 kB / 342.3 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.02088, allocations: 1.659 MB / 344 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.021, allocations: 39.73 kB / 344 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.02102, allocations: 23.98 kB / 344 MB, free: 12.04 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.02115, allocations: 169.8 kB / 344.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.02119, allocations: 23.86 kB / 344.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006474/0.02183, allocations: 0.537 MB / 344.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.02184, allocations: 4 kB / 344.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.02184, allocations: 0 / 344.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.02184, allocations: 7.984 kB / 344.8 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.02285, allocations: 1.063 MB / 345.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.02286, allocations: 4 kB / 345.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.02302, allocations: 79.84 kB / 345.9 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001519/0.02318, allocations: 85.08 kB / 346 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.02319, allocations: 12 kB / 346 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009884/0.02418, allocations: 1.654 MB / 347.7 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02418, allocations: 0 / 347.7 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008004/0.02498, allocations: 0.809 MB / 348.5 MB, free: 7.379 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.02501, allocations: 39.67 kB / 348.5 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.02503, allocations: 8 kB / 348.5 MB, free: 7.332 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.02515, allocations: 19.98 kB / 348.5 MB, free: 7.312 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.0252, allocations: 36.5 kB / 348.6 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.02522, allocations: 19.98 kB / 348.6 MB, free: 7.258 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.325e-05/0.02529, allocations: 135.2 kB / 348.7 MB, free: 7.125 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02529, allocations: 0 / 348.7 MB, free: 7.125 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003092/0.0256, allocations: 151.7 kB / 348.9 MB, free: 6.977 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (44): * Single equations (assignments): 43 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001055/0.02666, allocations: 1.385 MB / 350.3 MB, free: 5.551 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006027/0.02726, allocations: 0.5398 MB / 350.8 MB, free: 5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.02726, allocations: 0 / 350.8 MB, free: 5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003127/0.02757, allocations: 362.1 kB / 351.1 MB, free: 4.633 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.02781, allocations: 33.95 kB / 351.2 MB, free: 4.605 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.03065, allocations: 3.433 MB / 354.6 MB, free: 1.016 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.03077, allocations: 204.6 kB / 354.8 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.03088, allocations: 50.94 kB / 354.9 MB, free: 0.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.031, allocations: 136.5 kB / 355 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of SimCode: time 4.2e-07/0.03101, allocations: 0 / 355 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.05169, allocations: 8.549 MB / 363.5 MB, free: 8.223 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.041/7.093, allocations: 64 / 363.5 MB, free: 8.223 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.668138609267771]