Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001427, allocations: 113.2 kB / 17.73 MB, free: 5.344 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.001654/0.001654, allocations: 188.2 kB / 18.66 MB, free: 4.418 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.449/1.449, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001293/0.001293, allocations: 55.92 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08538/0.08668, allocations: 46.62 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004896/0.09163, allocations: 3.232 MB / 378.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1924/0.2841, allocations: 1.34 MB / 379.7 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000399/0.2845, allocations: 9.75 kB / 379.7 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004686/0.285, allocations: 140.4 kB / 379.9 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009192/0.2859, allocations: 363 kB / 380.2 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.2864, allocations: 260.9 kB / 380.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005012/0.2869, allocations: 461.2 kB / 380.9 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.2872, allocations: 148 kB / 381.1 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.2874, allocations: 163.7 kB / 381.2 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.2876, allocations: 205.4 kB / 381.4 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.533e-05/0.2877, allocations: 34.38 kB / 381.5 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.288, allocations: 156.7 kB / 381.6 MB, free: 9.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.641e-05/0.2881, allocations: 84.02 kB / 381.7 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.2883, allocations: 198.3 kB / 381.9 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006918/0.289, allocations: 0.5341 MB / 382.4 MB, free: 9.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.289, allocations: 0.5625 kB / 382.4 MB, free: 9.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.289, allocations: 0 / 382.4 MB, free: 9.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.289, allocations: 4.25 kB / 382.4 MB, free: 9.41 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001378/0.2904, allocations: 0.7328 MB / 383.2 MB, free: 8.926 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2905, allocations: 11.06 kB / 383.2 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006096/0.2911, allocations: 95.58 kB / 383.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.2915, allocations: 321 kB / 383.6 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.2915, allocations: 26.19 kB / 383.6 MB, free: 8.652 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.2916, allocations: 37.72 kB / 383.6 MB, free: 8.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005896/0.2922, allocations: 348.8 kB / 384 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2922, allocations: 3.938 kB / 384 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.2922, allocations: 15.72 kB / 384 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.2923, allocations: 11.88 kB / 384 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.2927, allocations: 245 kB / 384.2 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.2945, allocations: 1.305 MB / 385.6 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.2949, allocations: 199.5 kB / 385.7 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.2951, allocations: 87.41 kB / 385.8 MB, free: 7.629 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006042/0.2957, allocations: 0.8656 MB / 386.7 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.2957, allocations: 37.45 kB / 386.7 MB, free: 6.727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.2957, allocations: 4 kB / 386.7 MB, free: 6.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005054/0.2962, allocations: 219.8 kB / 387 MB, free: 6.625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.2963, allocations: 83.56 kB / 387 MB, free: 6.527 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.2965, allocations: 284 kB / 387.3 MB, free: 6.363 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.2966, allocations: 27.8 kB / 387.3 MB, free: 6.332 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.2967, allocations: 242.6 kB / 387.6 MB, free: 6.129 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.2967, allocations: 60.81 kB / 387.6 MB, free: 6.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.254e-05/0.2968, allocations: 71.8 kB / 387.7 MB, free: 6.031 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.975e-05/0.2969, allocations: 332 kB / 388 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.297, allocations: 66.84 kB / 388.1 MB, free: 5.691 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.2972, allocations: 210.4 kB / 388.3 MB, free: 5.492 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.2976, allocations: 295.1 kB / 388.6 MB, free: 5.246 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.2976, allocations: 1.125 kB / 388.6 MB, free: 5.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004973/0.2981, allocations: 314.6 kB / 388.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2981, allocations: 7.094 kB / 388.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2981, allocations: 5.5 kB / 388.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.2982, allocations: 6.625 kB / 388.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.2984, allocations: 75.42 kB / 389 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.2985, allocations: 15.91 kB / 389 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.2987, allocations: 42.02 kB / 389 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.2987, allocations: 13.95 kB / 389.1 MB, free: 5.066 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.2988, allocations: 158.4 kB / 389.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.2989, allocations: 25.94 kB / 389.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.345e-05/0.2989, allocations: 28.44 kB / 389.3 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2989, allocations: 2.281 kB / 389.3 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.299, allocations: 5 kB / 389.3 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.299, allocations: 2.078 kB / 389.3 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006162/0.2996, allocations: 0.5155 MB / 389.8 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2996, allocations: 1.031 kB / 389.8 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.2998, allocations: 49.41 kB / 389.8 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2998, allocations: 5.406 kB / 389.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.2999, allocations: 5.844 kB / 389.9 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2999, allocations: 2.391 kB / 389.9 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2999, allocations: 1.469 kB / 389.9 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.3004, allocations: 421.1 kB / 390.3 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.3004, allocations: 102.6 kB / 390.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.3005, allocations: 6.922 kB / 390.4 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.3007, allocations: 11.98 kB / 390.4 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.3008, allocations: 17.88 kB / 390.4 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.3008, allocations: 5.234 kB / 390.4 MB, free: 4.055 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.3009, allocations: 199.5 kB / 390.6 MB, free: 3.938 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.301, allocations: 0 / 390.6 MB, free: 3.938 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004363/0.3014, allocations: 85.22 kB / 390.7 MB, free: 3.914 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001632/0.3016, allocations: 105.2 kB / 390.8 MB, free: 3.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003956/0.302, allocations: 188.3 kB / 391 MB, free: 3.762 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.302, allocations: 1.125 kB / 391 MB, free: 3.762 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.3021, allocations: 68.81 kB / 391 MB, free: 3.742 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.3025, allocations: 41.59 kB / 391.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000981/0.3035, allocations: 0.6574 MB / 391.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.3038, allocations: 0.7753 MB / 392.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.3039, allocations: 36.8 kB / 392.6 MB, free: 2.586 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.918e-05/0.304, allocations: 23.81 kB / 392.6 MB, free: 2.578 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.304, allocations: 0 / 392.6 MB, free: 2.578 MB / 318.1 MB Notification: Performance of Templates: time 0.005904/0.3099, allocations: 2.375 MB / 395 MB, free: 2.355 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches