Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.001318/0.001318, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001487/0.001487, allocations: 211 kB / 24.53 MB, free: 4.07 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.442/1.442, allocations: 230.5 MB / 258.2 MB, free: 7.996 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.MultipleResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 63.91 kB / 378.6 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.257, allocations: 53.41 MB / 432 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.00664/0.2637, allocations: 5.139 MB / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00347/0.2671, allocations: 1.858 MB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000303/0.2674, allocations: 12 kB / 439 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002677/0.2701, allocations: 1.194 MB / 440.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.2717, allocations: 0.6218 MB / 440.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.2731, allocations: 0.6236 MB / 441.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009671/0.2741, allocations: 0.7621 MB / 442.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008537/0.2749, allocations: 0.5234 MB / 442.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005479/0.2755, allocations: 346.6 kB / 443 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005367/0.276, allocations: 418.4 kB / 443.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.602e-05/0.2761, allocations: 68 kB / 443.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006087/0.2767, allocations: 259.8 kB / 443.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.2768, allocations: 167.3 kB / 443.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000349/0.2772, allocations: 378.2 kB / 444.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.2785, allocations: 1.021 MB / 445.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2785, allocations: 0 / 445.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2785, allocations: 0 / 445.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.2785, allocations: 4 kB / 445.3 MB, free: 9.422 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.003861/0.2824, allocations: 1.328 MB / 446.7 MB, free: 8.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.2824, allocations: 12.03 kB / 446.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.793e-05/0.2824, allocations: 22.19 kB / 446.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001438/0.2826, allocations: 127 kB / 446.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005794/0.2884, allocations: 0.7848 MB / 447.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000728/0.2891, allocations: 358 kB / 448 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.655e-05/0.2892, allocations: 62.12 kB / 448 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.2893, allocations: 80 kB / 448.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.2908, allocations: 0.7726 MB / 448.9 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.2908, allocations: 3.953 kB / 448.9 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.242e-05/0.2909, allocations: 36 kB / 448.9 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.818e-05/0.291, allocations: 20 kB / 448.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.2927, allocations: 0.9058 MB / 449.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004321/0.297, allocations: 2.521 MB / 452.4 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.2989, allocations: 0.7789 MB / 453.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005623/0.2994, allocations: 291.1 kB / 453.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.2995, allocations: 36.61 kB / 453.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.2996, allocations: 39.22 kB / 453.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.504e-06/0.2996, allocations: 0 / 453.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003704/0.3033, allocations: 1.259 MB / 454.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.3033, allocations: 60.06 kB / 454.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.3037, allocations: 292.2 kB / 455.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/0.3037, allocations: 41.64 kB / 455.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.304, allocations: 296.6 kB / 455.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.3042, allocations: 273.7 kB / 455.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.3044, allocations: 126.6 kB / 455.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.3046, allocations: 350.7 kB / 456.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004859/0.3051, allocations: 241.8 kB / 456.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005962/0.3057, allocations: 362 kB / 456.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.3068, allocations: 0.6337 MB / 457.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3068, allocations: 0 / 457.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001858/0.3087, allocations: 0.8646 MB / 458.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.3087, allocations: 6.5 kB / 458.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3087, allocations: 4.156 kB / 458.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007812/0.3095, allocations: 208.6 kB / 458.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005435/0.31, allocations: 135.8 kB / 458.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003653/0.3137, allocations: 2.605 MB / 461.2 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.3141, allocations: 67.55 kB / 461.3 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/0.3142, allocations: 28 kB / 461.3 MB, free: 9.016 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (73): * Single equations (assignments): 72 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003316/0.3145, allocations: 201.6 kB / 461.5 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.3146, allocations: 51.67 kB / 461.5 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/0.3166, allocations: 0.8858 MB / 462.4 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.3166, allocations: 8 kB / 462.4 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3166, allocations: 4 kB / 462.4 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.3167, allocations: 3.984 kB / 462.4 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.3195, allocations: 1.675 MB / 464.1 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3195, allocations: 0 / 464.1 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005034/0.32, allocations: 111.9 kB / 464.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000708/0.3208, allocations: 207.5 kB / 464.4 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.971e-05/0.3208, allocations: 20 kB / 464.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003559/0.3244, allocations: 2.597 MB / 467 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.3244, allocations: 7.875 kB / 467 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/0.3269, allocations: 1.257 MB / 468.3 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.327, allocations: 55.56 kB / 468.4 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.914e-05/0.3271, allocations: 15.94 kB / 468.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.3274, allocations: 27.98 kB / 468.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.3276, allocations: 56.53 kB / 468.5 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/0.3276, allocations: 20 kB / 468.5 MB, free: 1.617 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002547/0.3279, allocations: 211.1 kB / 468.7 MB, free: 1.414 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3279, allocations: 4.062 kB / 468.7 MB, free: 1.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008836/0.3288, allocations: 239.5 kB / 468.9 MB, free: 1.176 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (63): * Single equations (assignments): 62 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003015/0.3318, allocations: 1.84 MB / 470.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001724/0.3335, allocations: 0.8046 MB / 471.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3335, allocations: 0 / 471.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000913/0.3344, allocations: 0.5144 MB / 472.1 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.3349, allocations: 69.03 kB / 472.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008122/0.3431, allocations: 5.064 MB / 477.2 MB, free: 8.648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/0.3436, allocations: 0.8853 MB / 478.1 MB, free: 7.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002921/0.3439, allocations: 80.53 kB / 478.2 MB, free: 7.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/0.3443, allocations: 223.3 kB / 478.4 MB, free: 7.438 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3443, allocations: 0 / 478.4 MB, free: 7.438 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04443/0.3887, allocations: 13.11 MB / 491.5 MB, free: 10.47 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.75, allocations: 7.875 kB / 491.5 MB, free: 10.46 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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: 15.935067846032325]