Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_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_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.001441/0.001441, allocations: 108.4 kB / 18.4 MB, free: 4.699 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.001654/0.001654, allocations: 186.2 kB / 19.34 MB, free: 3.777 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.333/1.333, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001167/0.001167, allocations: 52.39 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07565/0.07683, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004559/0.08141, allocations: 3.239 MB / 379.1 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1597/0.2411, allocations: 1.345 MB / 380.4 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003363/0.2415, allocations: 7.969 kB / 380.4 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004392/0.242, allocations: 139.8 kB / 380.5 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000812/0.2428, allocations: 361.5 kB / 380.9 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.2433, allocations: 256.6 kB / 381.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004612/0.2437, allocations: 461.2 kB / 381.6 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.244, allocations: 148.5 kB / 381.7 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.2441, allocations: 162.8 kB / 381.9 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.2444, allocations: 201 kB / 382.1 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.925e-05/0.2445, allocations: 37.97 kB / 382.1 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.2448, allocations: 159.2 kB / 382.3 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.2449, allocations: 79.83 kB / 382.4 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.245, allocations: 199.2 kB / 382.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006496/0.2457, allocations: 0.5322 MB / 383.1 MB, free: 9.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2457, allocations: 4.281 kB / 383.1 MB, free: 9.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2457, allocations: 0.5938 kB / 383.1 MB, free: 9.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.2457, allocations: 3.531 kB / 383.1 MB, free: 9.414 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.001297/0.247, allocations: 0.7352 MB / 383.8 MB, free: 8.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.2471, allocations: 9.031 kB / 383.8 MB, free: 8.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006165/0.2477, allocations: 96.25 kB / 383.9 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.2481, allocations: 318.5 kB / 384.3 MB, free: 8.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.2481, allocations: 24.62 kB / 384.3 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.904e-05/0.2482, allocations: 33.84 kB / 384.3 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005598/0.2487, allocations: 354.2 kB / 384.7 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2488, allocations: 3.938 kB / 384.7 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.2488, allocations: 18.8 kB / 384.7 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.2488, allocations: 8.375 kB / 384.7 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/0.2493, allocations: 249.7 kB / 384.9 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.251, allocations: 1.301 MB / 386.2 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.2514, allocations: 199.6 kB / 386.4 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.2516, allocations: 88.33 kB / 386.5 MB, free: 7.629 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006257/0.2522, allocations: 0.8636 MB / 387.4 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.2522, allocations: 40.53 kB / 387.4 MB, free: 6.727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.2522, allocations: 4 kB / 387.4 MB, free: 6.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005178/0.2527, allocations: 220.5 kB / 387.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.683e-05/0.2528, allocations: 79.33 kB / 387.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.253, allocations: 289.7 kB / 388 MB, free: 6.363 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.2531, allocations: 30.86 kB / 388 MB, free: 6.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.909e-05/0.2532, allocations: 231.8 kB / 388.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.2532, allocations: 61.36 kB / 388.3 MB, free: 6.086 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.23e-05/0.2533, allocations: 70.06 kB / 388.4 MB, free: 6.035 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.392e-05/0.2534, allocations: 337 kB / 388.7 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.2535, allocations: 68.61 kB / 388.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.2537, allocations: 198 kB / 389 MB, free: 5.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.2541, allocations: 298.2 kB / 389.3 MB, free: 5.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2541, allocations: 8.156 kB / 389.3 MB, free: 5.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004876/0.2546, allocations: 314.8 kB / 389.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2546, allocations: 6.406 kB / 389.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2546, allocations: 5.641 kB / 389.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.2546, allocations: 7 kB / 389.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.2549, allocations: 79.69 kB / 389.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.2549, allocations: 15.12 kB / 389.7 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.2551, allocations: 38 kB / 389.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.2551, allocations: 13.72 kB / 389.7 MB, free: 5.066 MB / 318.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.0001077/0.2553, allocations: 160.4 kB / 389.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.2553, allocations: 23.97 kB / 389.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.039e-05/0.2554, allocations: 28.8 kB / 389.9 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2554, allocations: 5.406 kB / 390 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2554, allocations: 1.156 kB / 390 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.2555, allocations: 109.8 kB / 390.1 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.2555, allocations: 5.156 kB / 390.1 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.2557, allocations: 20.78 kB / 390.1 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.2558, allocations: 9.703 kB / 390.1 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004904/0.2563, allocations: 339.4 kB / 390.4 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004953/0.2568, allocations: 0.4902 MB / 390.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001298/0.2569, allocations: 67.67 kB / 391 MB, free: 4.145 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.2571, allocations: 198.7 kB / 391.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of Backend: time 3.6e-07/0.2571, allocations: 0 / 391.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008081/0.2579, allocations: 283.9 kB / 391.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of SimCode: time 0.0009416/0.2589, allocations: 1.07 MB / 392.5 MB, free: 3.035 MB / 318.1 MB Notification: Performance of Templates: time 0.007942/0.2668, allocations: 3.598 MB / 396.1 MB, free: 2.707 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches