Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: 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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001241, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 67.42 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.126, allocations: 50.54 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.006799/0.1328, allocations: 3.296 MB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003375/0.1362, allocations: 1.405 MB / 363.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.1366, allocations: 8 kB / 363.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006774/0.1373, allocations: 155 kB / 363.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.139, allocations: 421.7 kB / 364.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006446/0.1396, allocations: 175.5 kB / 364.3 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009847/0.1406, allocations: 458.1 kB / 364.8 MB, free: 7.406 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003797/0.141, allocations: 168.2 kB / 365 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004118/0.1415, allocations: 167.3 kB / 365.1 MB, free: 7.066 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005094/0.142, allocations: 207.1 kB / 365.3 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.1421, allocations: 36 kB / 365.4 MB, free: 6.828 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005643/0.1427, allocations: 171.8 kB / 365.5 MB, free: 6.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1428, allocations: 91.61 kB / 365.6 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003101/0.1432, allocations: 195 kB / 365.8 MB, free: 6.379 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.1442, allocations: 0.5451 MB / 366.3 MB, free: 5.832 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1442, allocations: 0 / 366.3 MB, free: 5.832 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1442, allocations: 4 kB / 366.4 MB, free: 5.828 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.1443, allocations: 0 / 366.4 MB, free: 5.828 MB / 302.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.002406/0.1467, allocations: 0.7525 MB / 367.1 MB, free: 5.027 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.1467, allocations: 8.031 kB / 367.1 MB, free: 5.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.1482, allocations: 112.4 kB / 367.2 MB, free: 4.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007356/0.1489, allocations: 313.6 kB / 367.5 MB, free: 4.559 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/0.149, allocations: 29.38 kB / 367.6 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.168e-05/0.1491, allocations: 32.38 kB / 367.6 MB, free: 4.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009748/0.1501, allocations: 361.6 kB / 367.9 MB, free: 4.133 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.1501, allocations: 0 / 367.9 MB, free: 4.133 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.424e-05/0.1502, allocations: 16 kB / 368 MB, free: 4.117 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.1502, allocations: 8 kB / 368 MB, free: 4.109 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008439/0.151, allocations: 250 kB / 368.2 MB, free: 3.863 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003128/0.1542, allocations: 1.304 MB / 369.5 MB, free: 2.457 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.1548, allocations: 201.1 kB / 369.7 MB, free: 2.242 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.1551, allocations: 85.67 kB / 369.8 MB, free: 2.152 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001447/0.1566, allocations: 1.192 MB / 371 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.1566, allocations: 42.48 kB / 371 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.953e-06/0.1566, allocations: 4 kB / 371 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008289/0.1575, allocations: 221.2 kB / 371.2 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.1575, allocations: 81.05 kB / 371.3 MB, free: 420 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.158, allocations: 287.1 kB / 371.6 MB, free: 128 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.158, allocations: 33.7 kB / 371.6 MB, free: 88 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1647/0.3227, allocations: 231.8 kB / 371.9 MB, free: 20.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.485e-05/0.3228, allocations: 66.72 kB / 371.9 MB, free: 20.19 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3229, allocations: 60.94 kB / 372 MB, free: 20.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.074e-05/0.323, allocations: 335.2 kB / 372.3 MB, free: 19.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.3232, allocations: 66.75 kB / 372.4 MB, free: 19.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.3234, allocations: 197 kB / 372.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.3238, allocations: 292.3 kB / 372.9 MB, free: 19.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3238, allocations: 2.047 kB / 372.9 MB, free: 19.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005764/0.3244, allocations: 318.5 kB / 373.2 MB, free: 19.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3244, allocations: 9.984 kB / 373.2 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.3244, allocations: 7.078 kB / 373.2 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.3244, allocations: 6.375 kB / 373.2 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.3248, allocations: 86.86 kB / 373.3 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.3248, allocations: 10.55 kB / 373.3 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.325, allocations: 38.72 kB / 373.3 MB, free: 19.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.325, allocations: 16.83 kB / 373.3 MB, free: 19.44 MB / 302.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.0001295/0.3252, allocations: 159.2 kB / 373.5 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/0.3252, allocations: 32 kB / 373.5 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.882e-05/0.3253, allocations: 29.44 kB / 373.6 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.3253, allocations: 7.078 kB / 373.6 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3253, allocations: 1.094 kB / 373.6 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3253, allocations: 3.469 kB / 373.6 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006583/0.326, allocations: 0.5087 MB / 374.1 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.326, allocations: 6.156 kB / 374.1 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.3262, allocations: 42.42 kB / 374.1 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3262, allocations: 5.156 kB / 374.1 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.3263, allocations: 5.234 kB / 374.1 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3263, allocations: 2.156 kB / 374.1 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3263, allocations: 1.312 kB / 374.1 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004555/0.3267, allocations: 424.9 kB / 374.6 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.3268, allocations: 103 kB / 374.7 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.3268, allocations: 6.156 kB / 374.7 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.3271, allocations: 15.86 kB / 374.7 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.3271, allocations: 13.48 kB / 374.7 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.3271, allocations: 5.578 kB / 374.7 MB, free: 18.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.3273, allocations: 201 kB / 374.9 MB, free: 18.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3273, allocations: 0 / 374.9 MB, free: 18.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000421/0.3278, allocations: 86.81 kB / 375 MB, free: 18.45 MB / 302.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.0001297/0.3279, allocations: 115.5 kB / 375.1 MB, free: 18.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000389/0.3283, allocations: 187.7 kB / 375.3 MB, free: 18.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3283, allocations: 0 / 375.3 MB, free: 18.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.3285, allocations: 74.02 kB / 375.3 MB, free: 18.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.3289, allocations: 42.55 kB / 375.4 MB, free: 18.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000986/0.3299, allocations: 0.6588 MB / 376 MB, free: 17.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.3301, allocations: 0.7772 MB / 376.8 MB, free: 17.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.3302, allocations: 31.55 kB / 376.9 MB, free: 17.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.3302, allocations: 24.88 kB / 376.9 MB, free: 17.14 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3303, allocations: 0 / 376.9 MB, free: 17.14 MB / 302.1 MB Notification: Performance of Templates: time 0.005586/0.3358, allocations: 2.348 MB / 379.2 MB, free: 16.96 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches