Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 110.6 kB / 18.4 MB, free: 4.566 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.001099/0.001099, allocations: 190.1 kB / 19.34 MB, free: 3.645 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.308/1.308, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001174/0.001174, allocations: 47.94 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07615/0.07734, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.1669/0.2442, allocations: 4.604 MB / 380.4 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003374/0.2476, allocations: 1.737 MB / 382.2 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004584/0.2482, allocations: 24.88 kB / 382.2 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005726/0.2487, allocations: 261.9 kB / 382.4 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.2502, allocations: 0.6926 MB / 383.1 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.2507, allocations: 232.6 kB / 383.4 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002022/0.2527, allocations: 1.891 MB / 385.3 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.2539, allocations: 1.257 MB / 386.5 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009019/0.2548, allocations: 0.7922 MB / 387.3 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.256, allocations: 0.9788 MB / 388.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000257/0.2562, allocations: 185.8 kB / 388.5 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006337/0.2569, allocations: 309 kB / 388.8 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004244/0.2573, allocations: 0.5304 MB / 389.3 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007755/0.2581, allocations: 0.9034 MB / 390.2 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002346/0.2605, allocations: 2.556 MB / 392.8 MB, free: 5.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2605, allocations: 0 / 392.8 MB, free: 5.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2605, allocations: 0 / 392.8 MB, free: 5.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.958e-05/0.2605, allocations: 4 kB / 392.8 MB, free: 5.836 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004241/0.2648, allocations: 2.171 MB / 394.9 MB, free: 4.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.2648, allocations: 9.359 kB / 394.9 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/0.2667, allocations: 370.9 kB / 395.3 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.2682, allocations: 1.042 MB / 396.3 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.671e-05/0.2683, allocations: 101.5 kB / 396.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/0.2685, allocations: 140.8 kB / 396.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.2715, allocations: 1.889 MB / 398.5 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.2715, allocations: 3.984 kB / 398.5 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.2717, allocations: 52.38 kB / 398.5 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.064e-05/0.2717, allocations: 50.59 kB / 398.6 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.2744, allocations: 1.685 MB / 400.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007736/0.2821, allocations: 5.514 MB / 405.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00288/0.285, allocations: 2.911 MB / 408.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/0.2857, allocations: 0.5028 MB / 409.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002166/0.2879, allocations: 1.529 MB / 410.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.288, allocations: 45.09 kB / 410.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.204e-06/0.288, allocations: 0 / 410.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003036/0.291, allocations: 1.406 MB / 412.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.2911, allocations: 86.55 kB / 412.3 MB, free: 9.227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.2924, allocations: 1.031 MB / 413.3 MB, free: 8.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.2925, allocations: 37.08 kB / 413.3 MB, free: 8.625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000446/0.2929, allocations: 0.6742 MB / 414 MB, free: 8.035 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.2931, allocations: 195.1 kB / 414.2 MB, free: 7.867 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.2933, allocations: 128.8 kB / 414.3 MB, free: 7.789 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2934, allocations: 332.7 kB / 414.6 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005706/0.294, allocations: 357.7 kB / 415 MB, free: 7.281 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/0.2946, allocations: 0.5093 MB / 415.5 MB, free: 6.699 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.2959, allocations: 0.8822 MB / 416.4 MB, free: 5.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.2959, allocations: 0 / 416.4 MB, free: 5.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001592/0.2975, allocations: 1.007 MB / 417.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.2975, allocations: 8.562 kB / 417.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.2976, allocations: 8 kB / 417.4 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.2976, allocations: 8 kB / 417.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007687/0.2984, allocations: 183.7 kB / 417.6 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/0.2984, allocations: 11.94 kB / 417.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/0.299, allocations: 87.27 kB / 417.7 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-05/0.299, allocations: 35.98 kB / 417.7 MB, free: 4.41 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * 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.0006844/0.2997, allocations: 0.5173 MB / 418.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.2999, allocations: 86.97 kB / 418.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.3011, allocations: 0.6862 MB / 419 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.3011, allocations: 3.984 kB / 419 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3011, allocations: 0 / 419 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.3013, allocations: 191.9 kB / 419.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.3015, allocations: 19.92 kB / 419.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005281/0.302, allocations: 63.94 kB / 419.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.3022, allocations: 51.91 kB / 419.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00207/0.3042, allocations: 1.146 MB / 420.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001858/0.3061, allocations: 1.444 MB / 421.9 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005455/0.3067, allocations: 367.7 kB / 422.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008405/0.3075, allocations: 0.7335 MB / 423 MB, free: 15.06 MB / 350.1 MB Notification: Performance of Backend: time 5.51e-07/0.3075, allocations: 8 kB / 423 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.309, allocations: 0.6402 MB / 423.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of SimCode: time 0.004114/0.3131, allocations: 3.206 MB / 426.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Templates: time 0.02199/0.3351, allocations: 14.39 MB / 441.3 MB, free: 12.77 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches