Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001112/0.001113, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001133/0.001134, allocations: 190.6 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009725/0.0009726, allocations: 51.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2241, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004155/0.2283, allocations: 3.289 MB / 404.7 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.2303, allocations: 1.296 MB / 406 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.2305, allocations: 11.94 kB / 406 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.2308, allocations: 143.1 kB / 406.1 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009585/0.2318, allocations: 461.5 kB / 406.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.2322, allocations: 170 kB / 406.8 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005181/0.2327, allocations: 450 kB / 407.2 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.2329, allocations: 144.2 kB / 407.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.2331, allocations: 167.4 kB / 407.5 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.2333, allocations: 203.1 kB / 407.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.34e-05/0.2334, allocations: 36 kB / 407.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/0.2337, allocations: 159.9 kB / 407.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.45e-05/0.2338, allocations: 79.69 kB / 408 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.2339, allocations: 191 kB / 408.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005484/0.2345, allocations: 0.5423 MB / 408.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2345, allocations: 0 / 408.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2345, allocations: 0 / 408.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.2345, allocations: 4 kB / 408.7 MB, free: 1.531 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.001371/0.2359, allocations: 0.7331 MB / 409.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2359, allocations: 12.03 kB / 409.4 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006318/0.2366, allocations: 100.4 kB / 409.5 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.237, allocations: 304.5 kB / 409.8 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.237, allocations: 25.38 kB / 409.9 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.539e-05/0.2371, allocations: 36.38 kB / 409.9 MB, free: 248 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000592/0.2377, allocations: 361.6 kB / 410.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2377, allocations: 0 / 410.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.2378, allocations: 16 kB / 410.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.2378, allocations: 8 kB / 410.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/0.2383, allocations: 246.1 kB / 410.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.2401, allocations: 1.304 MB / 411.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.2405, allocations: 197.1 kB / 412 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.2407, allocations: 85.69 kB / 412.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007362/0.2414, allocations: 0.8752 MB / 413 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.2415, allocations: 30.56 kB / 413 MB, free: 12.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.482e-06/0.2415, allocations: 0 / 413 MB, free: 12.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005298/0.242, allocations: 221.4 kB / 413.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.2421, allocations: 88.98 kB / 413.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.2423, allocations: 291 kB / 413.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.2424, allocations: 29.7 kB / 413.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.2425, allocations: 231.5 kB / 413.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.2426, allocations: 67.08 kB / 413.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.2426, allocations: 61.94 kB / 414 MB, free: 11.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2428, allocations: 334.8 kB / 414.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.2429, allocations: 72.67 kB / 414.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.2432, allocations: 210.3 kB / 414.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.2435, allocations: 292.9 kB / 414.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.2436, allocations: 4 kB / 414.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005107/0.2441, allocations: 316.8 kB / 415.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2441, allocations: 4 kB / 415.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.2441, allocations: 4 kB / 415.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2441, allocations: 8 kB / 415.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.2444, allocations: 80.45 kB / 415.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.2445, allocations: 19.88 kB / 415.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.2447, allocations: 39.58 kB / 415.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.2447, allocations: 20 kB / 415.3 MB, free: 10.35 MB / 334.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.0001356/0.2448, allocations: 149.7 kB / 415.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.2449, allocations: 27.72 kB / 415.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.456e-05/0.245, allocations: 29.73 kB / 415.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.245, allocations: 0 / 415.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.245, allocations: 7.938 kB / 415.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/0.2451, allocations: 104.8 kB / 415.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.2451, allocations: 4 kB / 415.7 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.2453, allocations: 11.98 kB / 415.7 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.2454, allocations: 15.98 kB / 415.7 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005296/0.2459, allocations: 347.9 kB / 416 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005886/0.2465, allocations: 493.5 kB / 416.5 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001374/0.2467, allocations: 60 kB / 416.6 MB, free: 9.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001706/0.2469, allocations: 202 kB / 416.8 MB, free: 8.875 MB / 334.1 MB Notification: Performance of Backend: time 4.91e-07/0.2469, allocations: 0 / 416.8 MB, free: 8.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008278/0.2477, allocations: 293.9 kB / 417.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of SimCode: time 0.00114/0.2488, allocations: 1.087 MB / 418.1 MB, free: 7.445 MB / 334.1 MB Notification: Performance of Templates: time 0.007205/0.2561, allocations: 3.666 MB / 421.8 MB, free: 3.801 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches