Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 108.3 kB / 18.4 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 180.2 kB / 19.33 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001208, allocations: 55.92 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09426/0.09548, allocations: 46.62 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005161/0.1007, allocations: 3.75 MB / 379.6 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1875/0.2883, allocations: 1.45 MB / 381 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.2886, allocations: 9.625 kB / 381 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.2902, allocations: 0.757 MB / 381.8 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.2913, allocations: 0.5556 MB / 382.3 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00079/0.2921, allocations: 430.1 kB / 382.8 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005425/0.2926, allocations: 489.8 kB / 383.2 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007368/0.2934, allocations: 398.2 kB / 383.6 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003322/0.2937, allocations: 216.1 kB / 383.8 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000316/0.2941, allocations: 278.4 kB / 384.1 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.322e-05/0.2941, allocations: 46.22 kB / 384.1 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004669/0.2946, allocations: 211.8 kB / 384.4 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.2947, allocations: 113.1 kB / 384.5 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.2949, allocations: 245 kB / 384.7 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008658/0.2958, allocations: 0.6984 MB / 385.4 MB, free: 8.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2958, allocations: 8.641 kB / 385.4 MB, free: 8.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2958, allocations: 1.406 kB / 385.4 MB, free: 8.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.2958, allocations: 0 / 385.4 MB, free: 8.902 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.002147/0.2979, allocations: 0.9296 MB / 386.3 MB, free: 8.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.298, allocations: 9.125 kB / 386.4 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00427/0.3023, allocations: 0.5858 MB / 386.9 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.3028, allocations: 320.2 kB / 387.3 MB, free: 7.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.3028, allocations: 40.47 kB / 387.3 MB, free: 7.895 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.75e-05/0.3029, allocations: 58.17 kB / 387.3 MB, free: 7.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.3039, allocations: 0.5566 MB / 387.9 MB, free: 7.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.304, allocations: 0.7969 kB / 387.9 MB, free: 7.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.463e-05/0.304, allocations: 20.75 kB / 387.9 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.3041, allocations: 14.16 kB / 387.9 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.3051, allocations: 0.636 MB / 388.6 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.3079, allocations: 2.039 MB / 390.6 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.3099, allocations: 3.003 MB / 393.6 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.3103, allocations: 224.2 kB / 393.8 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.768e-05/0.3104, allocations: 88.86 kB / 393.9 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3104, allocations: 42.94 kB / 394 MB, free: 2.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.875e-06/0.3104, allocations: 0 / 394 MB, free: 2.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.00184/0.3123, allocations: 0.7925 MB / 394.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.3123, allocations: 57.38 kB / 394.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.3125, allocations: 201.6 kB / 395 MB, free: 2.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.3126, allocations: 35.67 kB / 395 MB, free: 2.109 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.3127, allocations: 236.8 kB / 395.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.3128, allocations: 168.8 kB / 395.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.3129, allocations: 102.7 kB / 395.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.222e-05/0.313, allocations: 341.6 kB / 395.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.3133, allocations: 163.4 kB / 396 MB, free: 1.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/0.3137, allocations: 267.3 kB / 396.3 MB, free: 1.156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006226/0.3143, allocations: 475.8 kB / 396.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3143, allocations: 1.438 kB / 396.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009966/0.3153, allocations: 0.5796 MB / 397.3 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3154, allocations: 6.125 kB / 397.3 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.3154, allocations: 10.23 kB / 397.4 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003404/0.3157, allocations: 95.52 kB / 397.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.3161, allocations: 107.2 kB / 397.6 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.3182, allocations: 2.041 MB / 399.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.3185, allocations: 50.06 kB / 399.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.3186, allocations: 22.92 kB / 399.7 MB, free: 14.71 MB / 334.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 (58): * Single equations (assignments): 57 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002628/0.3189, allocations: 174.9 kB / 399.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.012e-05/0.3189, allocations: 33.53 kB / 399.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.32, allocations: 0.5477 MB / 400.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.3201, allocations: 8.75 kB / 400.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3201, allocations: 1.25 kB / 400.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.3201, allocations: 3.969 kB / 400.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.3218, allocations: 1.139 MB / 401.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3218, allocations: 1.984 kB / 401.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/0.3221, allocations: 79.12 kB / 401.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002677/0.3224, allocations: 95.2 kB / 401.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.3224, allocations: 10.75 kB / 401.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.3243, allocations: 2.026 MB / 403.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3243, allocations: 1.062 kB / 403.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.3257, allocations: 0.8107 MB / 404.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.728e-05/0.3258, allocations: 111.5 kB / 404.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.3259, allocations: 11.31 kB / 404.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.3261, allocations: 23.5 kB / 404.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/0.3262, allocations: 33.88 kB / 404.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.3262, allocations: 14.94 kB / 404.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001416/0.3264, allocations: 144.7 kB / 404.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3264, allocations: 1.156 kB / 404.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006937/0.3271, allocations: 156.8 kB / 405.1 MB, free: 11.07 MB / 334.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 (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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002612/0.3274, allocations: 138.4 kB / 405.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.3286, allocations: 0.5932 MB / 405.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3286, allocations: 3.938 kB / 405.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006415/0.3293, allocations: 379 kB / 406.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.3297, allocations: 43.44 kB / 406.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.3314, allocations: 0.8745 MB / 407.1 MB, free: 9.926 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.3319, allocations: 0.814 MB / 407.9 MB, free: 9.223 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.332, allocations: 35.59 kB / 407.9 MB, free: 9.215 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.332, allocations: 0 / 407.9 MB, free: 9.215 MB / 334.1 MB Notification: Performance of Templates: time 0.009206/0.3413, allocations: 6.639 MB / 414.6 MB, free: 6.145 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches