Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.001424/0.001424, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001444/0.001444, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.465/1.465, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",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.001721/0.001721, allocations: 48.36 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2452, allocations: 49.16 MB / 396.3 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.0044/0.2496, allocations: 3.423 MB / 399.8 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00248/0.2521, allocations: 1.384 MB / 401.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.2523, allocations: 8.625 kB / 401.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.254, allocations: 0.7098 MB / 401.9 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.2551, allocations: 403.5 kB / 402.3 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009915/0.2561, allocations: 0.5154 MB / 402.8 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004926/0.2566, allocations: 493.9 kB / 403.3 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005658/0.2572, allocations: 434.7 kB / 403.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.2575, allocations: 231.4 kB / 403.9 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.2577, allocations: 259.7 kB / 404.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.885e-05/0.2578, allocations: 46.91 kB / 404.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004146/0.2582, allocations: 206.7 kB / 404.4 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.2583, allocations: 111.2 kB / 404.5 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.2584, allocations: 207.9 kB / 404.7 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008368/0.2593, allocations: 0.7227 MB / 405.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2593, allocations: 0 / 405.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2593, allocations: 1.125 kB / 405.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.2593, allocations: 0 / 405.4 MB, free: 3.625 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001978/0.2613, allocations: 0.8792 MB / 406.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.2613, allocations: 13.58 kB / 406.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.2614, allocations: 101.9 kB / 406.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004079/0.2655, allocations: 0.5951 MB / 407 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.266, allocations: 251.8 kB / 407.3 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.266, allocations: 44.75 kB / 407.3 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.381e-05/0.2661, allocations: 65.95 kB / 407.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009711/0.2671, allocations: 0.5959 MB / 408 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.2671, allocations: 1.172 kB / 408 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/0.2672, allocations: 29.53 kB / 408 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.2672, allocations: 13.28 kB / 408 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.2682, allocations: 0.6382 MB / 408.7 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002779/0.271, allocations: 1.681 MB / 410.3 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.2725, allocations: 0.6106 MB / 411 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004115/0.2729, allocations: 246.3 kB / 411.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.332e-05/0.273, allocations: 13.45 kB / 411.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.273, allocations: 45.84 kB / 411.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.004e-06/0.273, allocations: 0 / 411.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.00153/0.2745, allocations: 0.6703 MB / 411.9 MB, free: 192 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.2745, allocations: 59.16 kB / 412 MB, free: 124 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.2747, allocations: 211.9 kB / 412.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.2748, allocations: 32.05 kB / 412.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.2749, allocations: 255.4 kB / 412.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.2751, allocations: 173.6 kB / 412.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.2752, allocations: 97.7 kB / 412.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2754, allocations: 336.3 kB / 413.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/0.2757, allocations: 159.5 kB / 413.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004044/0.2761, allocations: 290.7 kB / 413.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007265/0.2768, allocations: 468.5 kB / 414 MB, free: 14.51 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2768, allocations: 1 kB / 414 MB, free: 14.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001131/0.278, allocations: 0.5873 MB / 414.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.278, allocations: 6.719 kB / 414.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.278, allocations: 3.906 kB / 414.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003696/0.2784, allocations: 92.55 kB / 414.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/0.2788, allocations: 112.2 kB / 414.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.2807, allocations: 1.66 MB / 416.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.2811, allocations: 56.56 kB / 416.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.2811, allocations: 21.06 kB / 416.5 MB, free: 12.55 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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.0002535/0.2814, allocations: 179.6 kB / 416.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/0.2814, allocations: 28.84 kB / 416.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.2826, allocations: 0.5438 MB / 417.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.2826, allocations: 5.719 kB / 417.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2826, allocations: 1.125 kB / 417.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.2826, allocations: 7.984 kB / 417.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.2845, allocations: 1.087 MB / 418.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2845, allocations: 5.156 kB / 418.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.2848, allocations: 82.86 kB / 418.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002705/0.2851, allocations: 76.88 kB / 418.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.2851, allocations: 16.11 kB / 418.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.2869, allocations: 1.645 MB / 420.2 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2869, allocations: 1.188 kB / 420.2 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.2883, allocations: 0.815 MB / 421 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.2884, allocations: 41.36 kB / 421 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.2884, allocations: 11.62 kB / 421 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.2887, allocations: 25.05 kB / 421.1 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/0.2887, allocations: 37.48 kB / 421.1 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.2888, allocations: 15.31 kB / 421.1 MB, free: 9.105 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.2889, allocations: 146.7 kB / 421.3 MB, free: 8.996 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2889, allocations: 0 / 421.3 MB, free: 8.996 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006681/0.2896, allocations: 157.2 kB / 421.4 MB, free: 8.953 MB / 334.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 (46): * Single equations (assignments): 45 * 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.001912/0.2915, allocations: 1.399 MB / 422.8 MB, free: 7.887 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.2927, allocations: 0.5681 MB / 423.4 MB, free: 7.531 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2927, allocations: 3.938 kB / 423.4 MB, free: 7.527 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006249/0.2933, allocations: 361.1 kB / 423.7 MB, free: 7.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.2937, allocations: 37.39 kB / 423.8 MB, free: 7.125 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005702/0.2994, allocations: 3.675 MB / 427.4 MB, free: 3.254 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.2997, allocations: 217.8 kB / 427.7 MB, free: 3.023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002221/0.2999, allocations: 51.27 kB / 427.7 MB, free: 2.973 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.3001, allocations: 147.4 kB / 427.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of SimCode: time 1.663e-06/0.3001, allocations: 0 / 427.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04056/0.3407, allocations: 8.565 MB / 436.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.08, allocations: 11.88 kB / 436.4 MB, free: 10.18 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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: 14.430286886170506]