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.001227/0.001231, allocations: 110.9 kB / 17.74 MB, free: 5.359 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.001223/0.001223, allocations: 188.5 kB / 18.67 MB, free: 4.441 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.29/1.29, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 51.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2457, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004124/0.2498, allocations: 3.292 MB / 404.7 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.2518, allocations: 1.288 MB / 406 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.2519, allocations: 12 kB / 406 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003695/0.2523, allocations: 139.1 kB / 406.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009209/0.2533, allocations: 472.1 kB / 406.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.2536, allocations: 159.6 kB / 406.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000503/0.2541, allocations: 446 kB / 407.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002239/0.2544, allocations: 152.2 kB / 407.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.2545, allocations: 167.3 kB / 407.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.2548, allocations: 195.2 kB / 407.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.2548, allocations: 36 kB / 407.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.2551, allocations: 163.8 kB / 407.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.2552, allocations: 83.73 kB / 408 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.2554, allocations: 198.9 kB / 408.2 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005586/0.2559, allocations: 0.5306 MB / 408.7 MB, free: 1.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2559, allocations: 4 kB / 408.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2559, allocations: 0 / 408.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.256, allocations: 0 / 408.7 MB, free: 1.57 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.001308/0.2573, allocations: 0.7332 MB / 409.4 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.2573, allocations: 19.95 kB / 409.4 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006216/0.2579, allocations: 92.42 kB / 409.5 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.2584, allocations: 304.5 kB / 409.8 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.2584, allocations: 29.38 kB / 409.9 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.2584, allocations: 28.38 kB / 409.9 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005632/0.259, allocations: 361.6 kB / 410.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.259, allocations: 3.984 kB / 410.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.2591, allocations: 12 kB / 410.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.2591, allocations: 8 kB / 410.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004917/0.2596, allocations: 254.1 kB / 410.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.2617, allocations: 1.296 MB / 411.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/0.2621, allocations: 201.1 kB / 412 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.2623, allocations: 93.55 kB / 412.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007508/0.263, allocations: 0.8674 MB / 413 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.2631, allocations: 34.56 kB / 413 MB, free: 12.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.2631, allocations: 0 / 413 MB, free: 12.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004958/0.2636, allocations: 221.3 kB / 413.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.2636, allocations: 85.03 kB / 413.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.2639, allocations: 283 kB / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.2639, allocations: 33.7 kB / 413.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.2641, allocations: 239.4 kB / 413.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.2641, allocations: 67.09 kB / 413.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.425e-05/0.2642, allocations: 57.94 kB / 414 MB, free: 11.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2643, allocations: 338.8 kB / 414.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.2645, allocations: 68.61 kB / 414.4 MB, free: 11.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.2647, allocations: 202.5 kB / 414.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.2651, allocations: 296.9 kB / 414.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2651, allocations: 4 kB / 414.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004746/0.2656, allocations: 315.1 kB / 415.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.2656, allocations: 8 kB / 415.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2656, allocations: 4 kB / 415.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.2656, allocations: 4 kB / 415.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.2659, allocations: 92.33 kB / 415.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2659, allocations: 8 kB / 415.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.2661, allocations: 39.59 kB / 415.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.2661, allocations: 16 kB / 415.3 MB, free: 10.4 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.0001264/0.2663, allocations: 157.6 kB / 415.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.819e-05/0.2664, allocations: 23.72 kB / 415.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.31e-05/0.2664, allocations: 29.73 kB / 415.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2664, allocations: 11.92 kB / 415.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2664, allocations: 0 / 415.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.2664, allocations: 4 kB / 415.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006108/0.2671, allocations: 0.5146 MB / 416.1 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2671, allocations: 0 / 416.1 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.2673, allocations: 43.91 kB / 416.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2673, allocations: 4 kB / 416.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.2673, allocations: 4 kB / 416.1 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.2673, allocations: 4.031 kB / 416.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2673, allocations: 7.984 kB / 416.1 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005193/0.2679, allocations: 407.2 kB / 416.5 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.737e-05/0.2679, allocations: 112.7 kB / 416.6 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.268, allocations: 4.062 kB / 416.6 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.2682, allocations: 19.98 kB / 416.7 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.2682, allocations: 7.984 kB / 416.7 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.2683, allocations: 7.938 kB / 416.7 MB, free: 8.945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.2684, allocations: 202 kB / 416.9 MB, free: 8.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2684, allocations: 0 / 416.9 MB, free: 8.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004273/0.2689, allocations: 79.78 kB / 416.9 MB, free: 8.672 MB / 334.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.0001474/0.269, allocations: 127.2 kB / 417.1 MB, free: 8.535 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003694/0.2694, allocations: 188.3 kB / 417.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2694, allocations: 0 / 417.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.2696, allocations: 71.84 kB / 417.3 MB, free: 8.281 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.27, allocations: 34.5 kB / 417.4 MB, free: 8.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.271, allocations: 0.6829 MB / 418 MB, free: 7.531 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.2714, allocations: 0.779 MB / 418.8 MB, free: 6.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.2714, allocations: 23.44 kB / 418.8 MB, free: 6.703 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2714, allocations: 0 / 418.8 MB, free: 6.703 MB / 334.1 MB Notification: Performance of Templates: time 0.005116/0.2766, allocations: 3.5 MB / 422.3 MB, free: 3.211 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