Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001304, allocations: 121.3 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 55.91 kB / 373.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1105, allocations: 53.32 MB / 426.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005391/0.1159, allocations: 3.729 MB / 430.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2235/0.3394, allocations: 1.499 MB / 431.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004958/0.3399, allocations: 8.844 kB / 431.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.3419, allocations: 0.7554 MB / 432.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.3431, allocations: 395.4 kB / 433 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.3442, allocations: 0.5561 MB / 433.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006494/0.3449, allocations: 462 kB / 434 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006479/0.3455, allocations: 371.2 kB / 434.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003779/0.3459, allocations: 224.4 kB / 434.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003423/0.3462, allocations: 268.8 kB / 434.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.3463, allocations: 44.78 kB / 434.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005065/0.3469, allocations: 222 kB / 435.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.234e-05/0.3469, allocations: 103.3 kB / 435.3 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002724/0.3472, allocations: 241.2 kB / 435.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.3482, allocations: 0.7025 MB / 436.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3482, allocations: 1.859 kB / 436.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3482, allocations: 0 / 436.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.3482, allocations: 1.875 kB / 436.2 MB, free: 7.055 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002117/0.3504, allocations: 0.9252 MB / 437.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3504, allocations: 9.188 kB / 437.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001357/0.3505, allocations: 102.7 kB / 437.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003443/0.354, allocations: 473.5 kB / 437.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/0.3545, allocations: 316.3 kB / 438 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/0.3545, allocations: 39.81 kB / 438 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.3546, allocations: 55.47 kB / 438.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.3557, allocations: 0.5385 MB / 438.6 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.3557, allocations: 2.109 kB / 438.6 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.031e-05/0.3557, allocations: 19.97 kB / 438.7 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.3558, allocations: 19.97 kB / 438.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.3568, allocations: 0.5828 MB / 439.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002874/0.3597, allocations: 1.963 MB / 441.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.3613, allocations: 2.116 MB / 443.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005097/0.3618, allocations: 230.6 kB / 443.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.3619, allocations: 175 kB / 443.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.362, allocations: 45.97 kB / 443.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.284e-06/0.362, allocations: 0.5 kB / 443.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001903/0.3639, allocations: 0.7459 MB / 444.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.3639, allocations: 59.91 kB / 444.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.3641, allocations: 187.8 kB / 444.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.3641, allocations: 32.11 kB / 444.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3642, allocations: 226.9 kB / 445 MB, free: 1.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.3644, allocations: 169.8 kB / 445.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.3645, allocations: 81.47 kB / 445.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.3646, allocations: 339.5 kB / 445.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.3649, allocations: 158.6 kB / 445.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.3653, allocations: 240.6 kB / 446 MB, free: 0.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006447/0.3659, allocations: 417.1 kB / 446.4 MB, free: 300 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.3659, allocations: 1.156 kB / 446.4 MB, free: 300 kB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001034/0.367, allocations: 0.5394 MB / 446.9 MB, free: 56 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.367, allocations: 6 kB / 446.9 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.367, allocations: 2.656 kB / 446.9 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000358/0.3673, allocations: 80.98 kB / 447 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.3677, allocations: 99.2 kB / 447.1 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.3699, allocations: 1.776 MB / 448.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/0.3702, allocations: 50.36 kB / 448.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/0.3703, allocations: 20.48 kB / 449 MB, free: 14.39 MB / 366.1 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.0002826/0.3705, allocations: 166.3 kB / 449.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.708e-05/0.3706, allocations: 30.19 kB / 449.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.372, allocations: 0.5395 MB / 449.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.372, allocations: 5.688 kB / 449.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.372, allocations: 1.703 kB / 449.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.372, allocations: 6.141 kB / 449.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.3741, allocations: 1.145 MB / 450.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.3741, allocations: 0 / 450.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003569/0.3744, allocations: 76.44 kB / 450.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003141/0.3748, allocations: 85.61 kB / 451 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/0.3748, allocations: 12.12 kB / 451 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.3769, allocations: 1.767 MB / 452.8 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/0.3769, allocations: 9.766 kB / 452.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.3785, allocations: 0.8022 MB / 453.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.3787, allocations: 113.7 kB / 453.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.3787, allocations: 11.11 kB / 453.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.379, allocations: 20.28 kB / 453.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.3791, allocations: 42.55 kB / 453.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.3791, allocations: 11.27 kB / 453.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.3793, allocations: 144.8 kB / 453.9 MB, free: 11 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3793, allocations: 3.938 kB / 453.9 MB, free: 11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007468/0.3801, allocations: 152 kB / 454.1 MB, free: 10.95 MB / 366.1 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.002005/0.3821, allocations: 1.372 MB / 455.5 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.3835, allocations: 0.5463 MB / 456 MB, free: 9.715 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3835, allocations: 3.938 kB / 456 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00072/0.3842, allocations: 360.3 kB / 456.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.3846, allocations: 33.66 kB / 456.4 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006336/0.3909, allocations: 3.45 MB / 459.8 MB, free: 7.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006394/0.3916, allocations: 0.8055 MB / 460.6 MB, free: 6.516 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000266/0.3918, allocations: 49.7 kB / 460.7 MB, free: 6.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.3921, allocations: 139 kB / 460.8 MB, free: 6.398 MB / 366.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3921, allocations: 0 / 460.8 MB, free: 6.398 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04391/0.436, allocations: 7.741 MB / 468.6 MB, free: 3.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.84, allocations: 17.97 kB / 468.6 MB, free: 3.355 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 13.297252008225769]