Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007925/0.0007925, allocations: 92.77 kB / 17.31 MB, free: 5.664 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.0008531/0.0008532, allocations: 176.6 kB / 18.21 MB, free: 5.242 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.123/1.123, allocations: 223.3 MB / 242.3 MB, free: 14.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002127/0.0002126, allocations: 11.94 kB / 302.1 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07239/0.07262, allocations: 50.41 MB / 352.5 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003279/0.07592, allocations: 3.406 MB / 355.9 MB, free: 32 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.07754, allocations: 0.9776 MB / 356.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003058/0.07786, allocations: 19.88 kB / 356.9 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.07815, allocations: 123.2 kB / 357 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007311/0.07889, allocations: 274.7 kB / 357.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.07912, allocations: 107.9 kB / 357.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.08057, allocations: 1.646 MB / 359 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.08165, allocations: 1.023 MB / 360.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005573/0.08221, allocations: 486 kB / 360.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008599/0.08309, allocations: 0.6534 MB / 361.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.08325, allocations: 72 kB / 361.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.08345, allocations: 72 kB / 361.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.08375, allocations: 354.7 kB / 361.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006432/0.0844, allocations: 0.6391 MB / 362.3 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.08559, allocations: 1.644 MB / 364 MB, free: 7.902 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.0856, allocations: 0 / 364 MB, free: 7.902 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.0856, allocations: 0 / 364 MB, free: 7.902 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.362e-05/0.08565, allocations: 4 kB / 364 MB, free: 7.898 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002469/0.08813, allocations: 1.493 MB / 365.4 MB, free: 6.352 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.08817, allocations: 8.031 kB / 365.5 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002973/0.08847, allocations: 139.3 kB / 365.6 MB, free: 6.207 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.08961, allocations: 0.8577 MB / 366.4 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.354e-05/0.08968, allocations: 90.61 kB / 366.5 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.08984, allocations: 111.9 kB / 366.6 MB, free: 5.109 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/0.09206, allocations: 1.576 MB / 368.2 MB, free: 3.488 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.09209, allocations: 0 / 368.2 MB, free: 3.488 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-05/0.09219, allocations: 44 kB / 368.3 MB, free: 3.445 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.09222, allocations: 36 kB / 368.3 MB, free: 3.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.09407, allocations: 1.351 MB / 369.7 MB, free: 2.051 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1352/0.2292, allocations: 4.341 MB / 374 MB, free: 22.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009049/0.2302, allocations: 1.343 MB / 375.3 MB, free: 21.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008528/0.231, allocations: 0.5411 MB / 375.9 MB, free: 21.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.2311, allocations: 6.641 kB / 375.9 MB, free: 21.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.2311, allocations: 40.23 kB / 375.9 MB, free: 21.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.225e-06/0.2311, allocations: 2.281 kB / 375.9 MB, free: 21.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001286/0.2324, allocations: 0.8948 MB / 376.8 MB, free: 21.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.2324, allocations: 57.34 kB / 376.9 MB, free: 21.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009119/0.2334, allocations: 0.8189 MB / 377.7 MB, free: 20.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.2334, allocations: 36.14 kB / 377.7 MB, free: 20.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.2337, allocations: 0.5451 MB / 378.3 MB, free: 20.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.696e-05/0.2338, allocations: 183.5 kB / 378.5 MB, free: 20.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.088e-05/0.2338, allocations: 50.08 kB / 378.5 MB, free: 20.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.2339, allocations: 391.6 kB / 378.9 MB, free: 20.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/0.2344, allocations: 304.2 kB / 379.2 MB, free: 19.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.2348, allocations: 406.5 kB / 379.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008372/0.2356, allocations: 0.7021 MB / 380.3 MB, free: 19.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.2357, allocations: 0 / 380.3 MB, free: 19.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001121/0.2368, allocations: 0.8325 MB / 381.1 MB, free: 19.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2368, allocations: 7.266 kB / 381.1 MB, free: 19.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.2368, allocations: 4.75 kB / 381.1 MB, free: 19.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.2368, allocations: 5.344 kB / 381.1 MB, free: 19.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005284/0.2374, allocations: 154.3 kB / 381.3 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.2374, allocations: 5.625 kB / 381.3 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.2378, allocations: 69.69 kB / 381.4 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.2378, allocations: 19.05 kB / 381.4 MB, free: 19.07 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * 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.0004713/0.2383, allocations: 459.8 kB / 381.8 MB, free: 18.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-05/0.2384, allocations: 75.34 kB / 381.9 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.2385, allocations: 95.61 kB / 382 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.2385, allocations: 5.219 kB / 382 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.2386, allocations: 0.6094 kB / 382 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.2386, allocations: 2.297 kB / 382 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/0.2411, allocations: 1.961 MB / 384 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2411, allocations: 4.031 kB / 384 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004402/0.2415, allocations: 123.5 kB / 384.1 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.2415, allocations: 6.844 kB / 384.1 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.2416, allocations: 13.12 kB / 384.1 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.2416, allocations: 4.156 kB / 384.1 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2416, allocations: 1.188 kB / 384.1 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.2429, allocations: 1.147 MB / 385.3 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.243, allocations: 172.8 kB / 385.4 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-05/0.2431, allocations: 15.61 kB / 385.4 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.2435, allocations: 49.69 kB / 385.5 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.501e-05/0.2436, allocations: 39.53 kB / 385.5 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.2436, allocations: 16.11 kB / 385.5 MB, free: 17.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006221/0.2443, allocations: 0.5995 MB / 386.1 MB, free: 16.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2443, allocations: 0 / 386.1 MB, free: 16.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005924/0.2449, allocations: 287.7 kB / 386.4 MB, free: 16.8 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (52): * Single equations (assignments): 52 * 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 9.904e-05/0.245, allocations: 119.5 kB / 386.5 MB, free: 16.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008053/0.2458, allocations: 0.6563 MB / 387.2 MB, free: 16.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2458, allocations: 2.188 kB / 387.2 MB, free: 16.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003867/0.2462, allocations: 334.2 kB / 387.5 MB, free: 16.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000902/0.2471, allocations: 178.6 kB / 387.7 MB, free: 16.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.2499, allocations: 2.854 MB / 390.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/0.2505, allocations: 1.32 MB / 391.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.2507, allocations: 52.81 kB / 391.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.2507, allocations: 0 / 391.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of Templates: time 0.01298/0.2637, allocations: 13.12 MB / 405 MB, free: 2.723 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches