Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 176.1 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007416/0.0007418, allocations: 102.3 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002801/0.0002801, allocations: 8 kB / 327.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2233, allocations: 47.58 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.00274/0.226, allocations: 2.751 MB / 377.8 MB, free: 43.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.2279, allocations: 1.237 MB / 379.1 MB, free: 42.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.2281, allocations: 7.75 kB / 379.1 MB, free: 42.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.2284, allocations: 109.6 kB / 379.2 MB, free: 42.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006557/0.2291, allocations: 280.5 kB / 379.5 MB, free: 41.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.2294, allocations: 211.4 kB / 379.7 MB, free: 41.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004748/0.2299, allocations: 410.4 kB / 380.1 MB, free: 41.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.2301, allocations: 130 kB / 380.2 MB, free: 41.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.2303, allocations: 136.1 kB / 380.3 MB, free: 41.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.2305, allocations: 174.1 kB / 380.5 MB, free: 41.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.2306, allocations: 20.47 kB / 380.5 MB, free: 41.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.2308, allocations: 135.3 kB / 380.7 MB, free: 41.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.397e-05/0.2309, allocations: 58.47 kB / 380.7 MB, free: 41.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.231, allocations: 195.1 kB / 380.9 MB, free: 41.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.2314, allocations: 392.7 kB / 381.3 MB, free: 40.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2314, allocations: 1.281 kB / 381.3 MB, free: 40.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2314, allocations: 0 / 381.3 MB, free: 40.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.2314, allocations: 7.938 kB / 381.3 MB, free: 40.8 MB / 298.7 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.001162/0.2326, allocations: 0.6769 MB / 382 MB, free: 40.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.2326, allocations: 14.23 kB / 382 MB, free: 40.22 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005318/0.2332, allocations: 91.39 kB / 382.1 MB, free: 40.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.2335, allocations: 312.2 kB / 382.4 MB, free: 39.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.2335, allocations: 27.38 kB / 382.4 MB, free: 39.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.118e-05/0.2336, allocations: 39 kB / 382.4 MB, free: 39.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005678/0.2342, allocations: 361.1 kB / 382.8 MB, free: 39.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.2342, allocations: 0 / 382.8 MB, free: 39.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.2343, allocations: 15.34 kB / 382.8 MB, free: 39.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.2343, allocations: 8.25 kB / 382.8 MB, free: 39.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004883/0.2348, allocations: 250.6 kB / 383.1 MB, free: 39.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.2365, allocations: 1.335 MB / 384.4 MB, free: 38.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.2369, allocations: 195.8 kB / 384.6 MB, free: 38.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.237, allocations: 89.98 kB / 384.7 MB, free: 38.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006009/0.2376, allocations: 0.8762 MB / 385.6 MB, free: 37.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.2377, allocations: 40.84 kB / 385.6 MB, free: 37.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.2377, allocations: 0 / 385.6 MB, free: 37.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005172/0.2382, allocations: 223.5 kB / 385.8 MB, free: 37.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.2382, allocations: 91.33 kB / 385.9 MB, free: 37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.2385, allocations: 283.9 kB / 386.2 MB, free: 36.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.2385, allocations: 30.67 kB / 386.2 MB, free: 36.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.827e-05/0.2386, allocations: 240.9 kB / 386.4 MB, free: 36.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.2387, allocations: 59.23 kB / 386.5 MB, free: 36.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.2387, allocations: 5.156 kB / 386.5 MB, free: 36.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.36e-05/0.2388, allocations: 341.2 kB / 386.8 MB, free: 36.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.2389, allocations: 72.12 kB / 386.9 MB, free: 36.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.2391, allocations: 209.9 kB / 387.1 MB, free: 35.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.2395, allocations: 295.8 kB / 387.4 MB, free: 35.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2395, allocations: 2.562 kB / 387.4 MB, free: 35.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004921/0.24, allocations: 323.4 kB / 387.7 MB, free: 35.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.24, allocations: 6.938 kB / 387.7 MB, free: 35.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.24, allocations: 4.469 kB / 387.7 MB, free: 35.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2401, allocations: 7.281 kB / 387.7 MB, free: 35.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.2403, allocations: 92.2 kB / 387.8 MB, free: 35.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.2404, allocations: 11.94 kB / 387.8 MB, free: 35.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.2405, allocations: 35.67 kB / 387.9 MB, free: 35.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.2406, allocations: 20 kB / 387.9 MB, free: 35.38 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.2407, allocations: 149.7 kB / 388 MB, free: 35.22 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.733e-05/0.2407, allocations: 27.62 kB / 388.1 MB, free: 35.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.2408, allocations: 33.73 kB / 388.1 MB, free: 35.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.2408, allocations: 7.938 kB / 388.1 MB, free: 35.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2408, allocations: 4 kB / 388.1 MB, free: 35.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2408, allocations: 0 / 388.1 MB, free: 35.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005098/0.2413, allocations: 0.5108 MB / 388.6 MB, free: 34.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2414, allocations: 0 / 388.6 MB, free: 34.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.2416, allocations: 55.88 kB / 388.7 MB, free: 34.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2416, allocations: 4 kB / 388.7 MB, free: 34.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.2417, allocations: 7.938 kB / 388.7 MB, free: 34.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2417, allocations: 7.938 kB / 388.7 MB, free: 34.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2417, allocations: 0 / 388.7 MB, free: 34.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.2421, allocations: 428.1 kB / 389.1 MB, free: 34.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.2422, allocations: 104.8 kB / 389.2 MB, free: 33.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.2422, allocations: 3.984 kB / 389.2 MB, free: 33.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.2424, allocations: 20.06 kB / 389.2 MB, free: 33.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.2425, allocations: 19.95 kB / 389.3 MB, free: 33.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.2425, allocations: 4 kB / 389.3 MB, free: 33.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001383/0.2426, allocations: 194 kB / 389.5 MB, free: 33.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2427, allocations: 4 kB / 389.5 MB, free: 33.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003841/0.243, allocations: 83.69 kB / 389.5 MB, free: 33.62 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001507/0.2432, allocations: 107.4 kB / 389.6 MB, free: 33.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003403/0.2435, allocations: 196.5 kB / 389.8 MB, free: 33.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2436, allocations: 0 / 389.8 MB, free: 33.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.2437, allocations: 71.91 kB / 389.9 MB, free: 33.24 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.2441, allocations: 32.81 kB / 389.9 MB, free: 33.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009372/0.2451, allocations: 0.8479 MB / 390.8 MB, free: 32.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.2453, allocations: 0.7757 MB / 391.6 MB, free: 31.53 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/0.2453, allocations: 27.44 kB / 391.6 MB, free: 31.5 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2453, allocations: 0 / 391.6 MB, free: 31.5 MB / 298.7 MB Notification: Performance of Templates: time 0.004087/0.2494, allocations: 3.35 MB / 394.9 MB, free: 28.16 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches