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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008185/0.0008185, allocations: 88.28 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003481/0.003481, allocations: 152.3 kB / 24.69 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8383/0.8383, allocations: 177 MB / 204.9 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.94e-05, allocations: 6.219 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004362/0.004381, allocations: 5.352 MB / 331.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.006486, allocations: 2.032 MB / 333.2 MB, free: 7.969 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002925/0.006779, allocations: 55.62 kB / 333.2 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006136/0.007392, allocations: 401.3 kB / 333.6 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007773/0.00817, allocations: 0.6055 MB / 334.2 MB, free: 6.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.008409, allocations: 231.6 kB / 334.4 MB, free: 6.684 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001515/0.009924, allocations: 2.326 MB / 336.8 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008787/0.0108, allocations: 1.135 MB / 337.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.01215, allocations: 1.586 MB / 339.5 MB, free: 1.578 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008557/0.013, allocations: 1.099 MB / 340.6 MB, free: 484 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002016/0.0132, allocations: 288 kB / 340.9 MB, free: 196 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003603/0.01356, allocations: 379.8 kB / 341.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003619/0.01393, allocations: 0.7478 MB / 342 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008328/0.01476, allocations: 0.8576 MB / 342.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.01692, allocations: 3.872 MB / 346.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.01692, allocations: 0 / 346.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01692, allocations: 0 / 346.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.01695, allocations: 0 / 346.7 MB, free: 10.33 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.00231/0.01926, allocations: 2.361 MB / 349.1 MB, free: 7.926 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.01929, allocations: 11.98 kB / 349.1 MB, free: 7.914 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004751/0.01976, allocations: 291.5 kB / 349.4 MB, free: 7.629 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.0211, allocations: 1.314 MB / 350.7 MB, free: 6.281 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.269e-05/0.02117, allocations: 131.9 kB / 350.8 MB, free: 6.152 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.02133, allocations: 180.3 kB / 351 MB, free: 5.977 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/0.02395, allocations: 2.78 MB / 353.8 MB, free: 3.125 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.02398, allocations: 3.938 kB / 353.8 MB, free: 3.121 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.02408, allocations: 75.98 kB / 353.9 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.051e-05/0.02416, allocations: 111.6 kB / 354 MB, free: 2.938 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.02619, allocations: 2.122 MB / 356.1 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005682/0.03187, allocations: 6.368 MB / 362.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007584/0.03263, allocations: 0.716 MB / 363.2 MB, free: 9.492 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006712/0.0333, allocations: 442.7 kB / 363.6 MB, free: 9.055 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.03343, allocations: 44.47 kB / 363.6 MB, free: 9.012 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.03345, allocations: 43 kB / 363.7 MB, free: 8.961 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 1.743e-06/0.03345, allocations: 0 / 363.7 MB, free: 8.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=53): time 0.002235/0.03569, allocations: 2.129 MB / 365.8 MB, free: 6.793 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.03573, allocations: 85.61 kB / 365.9 MB, free: 6.688 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.0368, allocations: 1.364 MB / 367.3 MB, free: 5.309 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.03683, allocations: 37.7 kB / 367.3 MB, free: 5.266 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004129/0.03724, allocations: 1.029 MB / 368.3 MB, free: 4.223 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.162e-05/0.03733, allocations: 206.4 kB / 368.5 MB, free: 4.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.03753, allocations: 242.7 kB / 368.8 MB, free: 3.777 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.03763, allocations: 361.8 kB / 369.1 MB, free: 3.418 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004222/0.03805, allocations: 462.3 kB / 369.6 MB, free: 2.965 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.0391, allocations: 1.125 MB / 370.7 MB, free: 1.516 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.04025, allocations: 1.641 MB / 372.3 MB, free: 15.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.04026, allocations: 4 kB / 372.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001563/0.04182, allocations: 1.693 MB / 374 MB, free: 13.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.04184, allocations: 16 kB / 374 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.04185, allocations: 24 kB / 374.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003693/0.04222, allocations: 181.1 kB / 374.2 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/0.04266, allocations: 287.5 kB / 374.5 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.04403, allocations: 2.211 MB / 376.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/0.04445, allocations: 84.02 kB / 376.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-05/0.04451, allocations: 79.98 kB / 376.9 MB, free: 10.88 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (148): * Single equations (assignments): 147 * 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.0008474/0.04536, allocations: 0.7117 MB / 377.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.04547, allocations: 127.2 kB / 377.7 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007968/0.04627, allocations: 0.8298 MB / 378.6 MB, free: 9.191 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.04627, allocations: 4 kB / 378.6 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.04627, allocations: 7.938 kB / 378.6 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.04628, allocations: 7.922 kB / 378.6 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.04819, allocations: 2.08 MB / 380.7 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.04819, allocations: 4 kB / 380.7 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.04837, allocations: 99.81 kB / 380.8 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002911/0.04867, allocations: 157 kB / 380.9 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.04869, allocations: 15.98 kB / 380.9 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.04992, allocations: 2.153 MB / 383.1 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.04992, allocations: 4 kB / 383.1 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.051, allocations: 1.299 MB / 384.4 MB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005066/0.05151, allocations: 191.2 kB / 384.6 MB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.322e-05/0.05158, allocations: 20 kB / 384.6 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.05187, allocations: 48.03 kB / 384.6 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.05194, allocations: 59.78 kB / 384.7 MB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.05196, allocations: 16 kB / 384.7 MB, free: 2.805 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007421/0.05271, allocations: 0.9034 MB / 385.6 MB, free: 1.895 MB / 346.7 MB Notification: Performance of sort global known variables: time 3e-08/0.05271, allocations: 192 / 385.6 MB, free: 1.895 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007442/0.05345, allocations: 348 kB / 386 MB, free: 1.555 MB / 346.7 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.0002897/0.05374, allocations: 197 kB / 386.2 MB, free: 1.359 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.05478, allocations: 1.127 MB / 387.3 MB, free: 228 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.05478, allocations: 4.25 kB / 387.3 MB, free: 224 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004277/0.05521, allocations: 0.4943 MB / 387.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006623/0.05587, allocations: 277 kB / 388.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.05875, allocations: 3.185 MB / 391.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009153/0.05967, allocations: 1.083 MB / 392.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.05981, allocations: 96.48 kB / 392.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.05981, allocations: 3.938 kB / 392.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of Templates: time 0.02194/0.08174, allocations: 31.65 MB / 424.1 MB, free: 11.36 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.862025181762874]