Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.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.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 106.7 kB / 16.51 MB, free: 6.715 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.001272/0.001273, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.28/1.28, allocations: 222.9 MB / 241.1 MB, free: 13.65 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009484/0.0009485, allocations: 47.58 kB / 299.9 MB, free: 6.066 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1028, allocations: 49.45 MB / 349.4 MB, free: 4.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007266/0.1101, allocations: 5.976 MB / 355.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003147/0.1133, allocations: 1.592 MB / 357 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005888/0.1139, allocations: 47.81 kB / 357 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005657/0.1145, allocations: 246.3 kB / 357.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009847/0.1155, allocations: 322.3 kB / 357.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007297/0.1162, allocations: 311.7 kB / 357.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0021/0.1183, allocations: 2.118 MB / 360 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002556/0.1209, allocations: 2.283 MB / 362.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.1221, allocations: 0.9032 MB / 363.2 MB, free: 6.707 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.1235, allocations: 1.155 MB / 364.3 MB, free: 5.547 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003003/0.1238, allocations: 208 kB / 364.5 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007182/0.1245, allocations: 379.6 kB / 364.9 MB, free: 4.973 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005136/0.1251, allocations: 0.6193 MB / 365.5 MB, free: 4.352 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.1264, allocations: 1.155 MB / 366.7 MB, free: 3.191 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1556/0.2819, allocations: 3.678 MB / 370.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.282, allocations: 0.5938 kB / 370.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.282, allocations: 0 / 370.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001388/0.2821, allocations: 0.8125 kB / 370.4 MB, free: 14.98 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004623/0.2868, allocations: 2.461 MB / 372.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2868, allocations: 10.03 kB / 372.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006043/0.2874, allocations: 240.1 kB / 373.1 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/0.2894, allocations: 1.257 MB / 374.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.2895, allocations: 167.6 kB / 374.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002977/0.2898, allocations: 229.4 kB / 374.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004228/0.2941, allocations: 2.547 MB / 377.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.2941, allocations: 0 / 377.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/0.2943, allocations: 89.16 kB / 377.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.748e-05/0.2944, allocations: 57.17 kB / 377.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003354/0.2977, allocations: 2.141 MB / 379.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/0.308, allocations: 7.6 MB / 387.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009518/0.309, allocations: 1.256 MB / 388.4 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008882/0.3099, allocations: 0.6234 MB / 389 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.3099, allocations: 7.094 kB / 389 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.3099, allocations: 37.38 kB / 389.1 MB, free: 7.586 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 2.956e-06/0.31, allocations: 1.219 kB / 389.1 MB, free: 7.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.003577/0.3135, allocations: 2.428 MB / 391.5 MB, free: 6.117 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.3136, allocations: 62.94 kB / 391.5 MB, free: 6.047 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008694/0.3145, allocations: 0.7943 MB / 392.3 MB, free: 5.598 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.3145, allocations: 38.98 kB / 392.4 MB, free: 5.559 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003827/0.3149, allocations: 0.9157 MB / 393.3 MB, free: 4.754 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.315, allocations: 223.9 kB / 393.5 MB, free: 4.562 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.3152, allocations: 150.7 kB / 393.7 MB, free: 4.473 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3154, allocations: 388.9 kB / 394 MB, free: 4.105 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/0.3159, allocations: 368.6 kB / 394.4 MB, free: 3.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/0.3164, allocations: 0.5754 MB / 395 MB, free: 3.457 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.3175, allocations: 0.9875 MB / 396 MB, free: 2.801 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3175, allocations: 0 / 396 MB, free: 2.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001462/0.319, allocations: 1.148 MB / 397.1 MB, free: 2.238 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.319, allocations: 8.031 kB / 397.1 MB, free: 2.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.319, allocations: 15.42 kB / 397.1 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002574/0.3193, allocations: 111.4 kB / 397.2 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/0.3199, allocations: 175.5 kB / 397.4 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.3215, allocations: 2.128 MB / 399.5 MB, free: 292 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.322, allocations: 38.78 kB / 399.6 MB, free: 272 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/0.322, allocations: 31.09 kB / 399.6 MB, free: 268 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008377/0.3229, allocations: 0.6547 MB / 400.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.323, allocations: 85.78 kB / 400.4 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.3232, allocations: 104 kB / 400.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/0.3232, allocations: 9.188 kB / 400.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.3232, allocations: 4.594 kB / 400.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.3233, allocations: 6.984 kB / 400.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004015/0.3273, allocations: 2.658 MB / 403.1 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.3273, allocations: 4.062 kB / 403.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004576/0.3278, allocations: 107.6 kB / 403.2 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002448/0.328, allocations: 103.7 kB / 403.3 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/0.3281, allocations: 22.28 kB / 403.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.33, allocations: 2.059 MB / 405.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.33, allocations: 4.031 kB / 405.4 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.3321, allocations: 1.413 MB / 406.8 MB, free: 9.227 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/0.3324, allocations: 228.1 kB / 407.1 MB, free: 8.984 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.804e-05/0.3325, allocations: 20 kB / 407.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/0.3329, allocations: 43.89 kB / 407.1 MB, free: 8.922 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.3331, allocations: 47.5 kB / 407.2 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.3331, allocations: 19.98 kB / 407.2 MB, free: 8.859 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006771/0.3338, allocations: 0.5576 MB / 407.7 MB, free: 8.309 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3338, allocations: 4 kB / 407.8 MB, free: 8.305 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00106/0.3349, allocations: 303.9 kB / 408 MB, free: 8.008 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.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 (55): * Single equations (assignments): 52 * Array equations: 2 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002275/0.3351, allocations: 140.5 kB / 408.2 MB, free: 7.867 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.3367, allocations: 0.9947 MB / 409.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3367, allocations: 1.859 kB / 409.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008468/0.3376, allocations: 0.564 MB / 409.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.3387, allocations: 214 kB / 410 MB, free: 6.117 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005571/0.3442, allocations: 4.148 MB / 414.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/0.3456, allocations: 1.717 MB / 415.8 MB, free: 192 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005902/0.3462, allocations: 207.2 kB / 416 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.3463, allocations: 63.36 kB / 416.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3463, allocations: 0 / 416.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of Templates: time 0.0205/0.3669, allocations: 11.71 MB / 427.8 MB, free: 4.371 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches