Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009337/0.0009336, allocations: 94.55 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001067, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.7 MB / 247.5 MB, free: 9.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003539, allocations: 4 kB / 308.4 MB, free: 0.5859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1041, allocations: 51.53 MB / 359.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005742/0.1099, allocations: 5.456 MB / 365.4 MB, free: 7.574 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003985/0.1139, allocations: 2.088 MB / 367.5 MB, free: 5.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009/0.1148, allocations: 39.81 kB / 367.5 MB, free: 5.441 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.116, allocations: 338.4 kB / 367.8 MB, free: 5.109 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.1177, allocations: 0.4974 MB / 368.3 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.1183, allocations: 199.8 kB / 368.5 MB, free: 4.414 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002526/0.1208, allocations: 2.49 MB / 371 MB, free: 1.914 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002258/0.1231, allocations: 1.849 MB / 372.9 MB, free: 4 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1681/0.2912, allocations: 0.7769 MB / 373.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/0.2934, allocations: 1.012 MB / 374.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004245/0.2939, allocations: 121.7 kB / 374.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007942/0.2947, allocations: 226.8 kB / 375 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006179/0.2953, allocations: 0.5128 MB / 375.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.2965, allocations: 1.036 MB / 376.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004014/0.3005, allocations: 3.091 MB / 379.6 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3006, allocations: 1.5 kB / 379.6 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3006, allocations: 0.75 kB / 379.6 MB, free: 9.664 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.596e-05/0.3007, allocations: 2.625 kB / 379.6 MB, free: 9.664 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.005129/0.3058, allocations: 2.042 MB / 381.7 MB, free: 8.648 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.568e-05/0.3059, allocations: 9.156 kB / 381.7 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.3073, allocations: 287.4 kB / 382 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.3094, allocations: 1.325 MB / 383.3 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-05/0.3095, allocations: 130 kB / 383.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/0.3098, allocations: 178.6 kB / 383.6 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004352/0.3141, allocations: 2.55 MB / 386.1 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/0.3142, allocations: 5.125 kB / 386.2 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.3144, allocations: 72.19 kB / 386.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001294/0.3145, allocations: 99.14 kB / 386.3 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003753/0.3183, allocations: 2.114 MB / 388.4 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0104/0.3287, allocations: 7.514 MB / 395.9 MB, free: 1.125 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.3299, allocations: 1.28 MB / 397.2 MB, free: 72 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008/0.3307, allocations: 476.9 kB / 397.7 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.3309, allocations: 124.6 kB / 397.8 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.3309, allocations: 37.78 kB / 397.9 MB, free: 15.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 2.615e-06/0.3309, allocations: 0 / 397.9 MB, free: 15.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.003914/0.3349, allocations: 2.301 MB / 400.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.3349, allocations: 81.08 kB / 400.2 MB, free: 14.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.3369, allocations: 1.515 MB / 401.7 MB, free: 13.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/0.337, allocations: 35.89 kB / 401.8 MB, free: 13.3 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007019/0.3377, allocations: 0.9761 MB / 402.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.3379, allocations: 198.2 kB / 403 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.338, allocations: 103.4 kB / 403.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3381, allocations: 354 kB / 403.4 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006741/0.3388, allocations: 466.5 kB / 403.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.3399, allocations: 1.099 MB / 405 MB, free: 10.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/0.3418, allocations: 1.624 MB / 406.6 MB, free: 8.973 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.3418, allocations: 10.62 kB / 406.6 MB, free: 8.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002727/0.3445, allocations: 1.697 MB / 408.3 MB, free: 7.391 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.3446, allocations: 16 kB / 408.3 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.503e-05/0.3446, allocations: 20 kB / 408.3 MB, free: 7.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007894/0.3454, allocations: 185.1 kB / 408.5 MB, free: 7.172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008493/0.3463, allocations: 288.5 kB / 408.8 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.3486, allocations: 2.158 MB / 410.9 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.3498, allocations: 91.58 kB / 411 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.3499, allocations: 68 kB / 411.1 MB, free: 4.488 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001258/0.3512, allocations: 0.7102 MB / 411.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/0.3515, allocations: 134.4 kB / 411.9 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.3532, allocations: 0.8601 MB / 412.8 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.3532, allocations: 4 kB / 412.8 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3532, allocations: 0 / 412.8 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3532, allocations: 3.984 kB / 412.8 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004421/0.3577, allocations: 2.513 MB / 415.3 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3577, allocations: 0 / 415.3 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003918/0.3581, allocations: 99.22 kB / 415.4 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007235/0.3588, allocations: 161.6 kB / 415.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.3589, allocations: 16.05 kB / 415.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.361, allocations: 2.091 MB / 417.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.361, allocations: 7.469 kB / 417.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.363, allocations: 1.335 MB / 419 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000656/0.3637, allocations: 283.4 kB / 419.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/0.364, allocations: 16 kB / 419.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/0.3647, allocations: 52.22 kB / 419.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.3648, allocations: 51.25 kB / 419.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.3648, allocations: 23.92 kB / 419.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001814/0.3666, allocations: 1.048 MB / 420.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3667, allocations: 0 / 420.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001526/0.3682, allocations: 352 kB / 420.8 MB, free: 10.52 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004498/0.3686, allocations: 187.6 kB / 421 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001991/0.3707, allocations: 1.16 MB / 422.2 MB, free: 9.234 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3707, allocations: 0 / 422.2 MB, free: 9.234 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008112/0.3715, allocations: 0.5173 MB / 422.7 MB, free: 8.719 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.3737, allocations: 364.3 kB / 423 MB, free: 8.367 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005858/0.3795, allocations: 3.983 MB / 427 MB, free: 4.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/0.3809, allocations: 1.662 MB / 428.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000364/0.3812, allocations: 102.8 kB / 428.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3813, allocations: 0 / 428.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of Templates: time 0.04028/0.4215, allocations: 32.01 MB / 460.8 MB, free: 2.621 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches