Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.00125, allocations: 108.3 kB / 17.74 MB, free: 5.316 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.00124/0.00124, allocations: 187 kB / 18.67 MB, free: 4.395 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.282/1.282, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 47.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3067, allocations: 49.42 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01682/0.3235, allocations: 16.51 MB / 417.9 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009589/0.3332, allocations: 4.072 MB / 422 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003724/0.337, allocations: 143.6 kB / 422.1 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01649/0.3536, allocations: 7.441 MB / 429.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006393/0.36, allocations: 1.479 MB / 431 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00339/0.3634, allocations: 1.095 MB / 432.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009987/0.3734, allocations: 8.253 MB / 440.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03128/0.4047, allocations: 22.51 MB / 462.9 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007549/0.4123, allocations: 4.809 MB / 467.7 MB, free: 6.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009594/0.4219, allocations: 5.342 MB / 473 MB, free: 0.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004314/0.4263, allocations: 1.383 MB / 474.4 MB, free: 15.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006111/0.4324, allocations: 1.633 MB / 476.1 MB, free: 13.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00465/0.4371, allocations: 2.584 MB / 478.6 MB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009913/0.4471, allocations: 5.218 MB / 483.9 MB, free: 6.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0227/0.4698, allocations: 18.3 MB / 0.4904 GB, free: 3.684 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.4699, allocations: 0 / 0.4904 GB, free: 3.684 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.4699, allocations: 0 / 0.4904 GB, free: 3.684 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000521/0.4704, allocations: 3.938 kB / 0.4904 GB, free: 3.68 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.03235/0.5028, allocations: 10.43 MB / 0.5006 GB, free: 9.172 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.5028, allocations: 15.89 kB / 0.5006 GB, free: 9.156 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01908/0.5219, allocations: 3.74 MB / 0.5043 GB, free: 5.402 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01232/0.5343, allocations: 5.355 MB / 0.5095 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007198/0.535, allocations: 0.6785 MB / 0.5101 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004062/0.5391, allocations: 0.8866 MB / 0.511 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03355/0.5727, allocations: 12.72 MB / 0.5234 GB, free: 1.664 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003112/0.573, allocations: 11.98 kB / 0.5234 GB, free: 1.652 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002905/0.5759, allocations: 379.9 kB / 0.5238 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003845/0.5763, allocations: 395.1 kB / 0.5242 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02563/0.602, allocations: 11.42 MB / 0.5353 GB, free: 5.465 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5293/1.131, allocations: 43.08 MB / 0.5774 GB, free: 93.83 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008065/1.139, allocations: 10.49 MB / 0.5877 GB, free: 83.15 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002156/1.142, allocations: 1.675 MB / 0.5893 GB, free: 81.47 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/1.142, allocations: 138.6 kB / 0.5894 GB, free: 81.33 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/1.142, allocations: 60.03 kB / 0.5895 GB, free: 81.26 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 3.967e-06/1.142, allocations: 0 / 0.5895 GB, free: 81.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.006957/1.149, allocations: 4.659 MB / 0.594 GB, free: 76.58 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/1.149, allocations: 77.41 kB / 0.5941 GB, free: 76.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003691/1.153, allocations: 2.922 MB / 0.597 GB, free: 73.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000324/1.153, allocations: 65.7 kB / 0.597 GB, free: 73.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001586/1.155, allocations: 3.83 MB / 0.6008 GB, free: 69.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007629/1.155, allocations: 0.7931 MB / 0.6015 GB, free: 68.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/1.157, allocations: 0.9443 MB / 0.6025 GB, free: 67.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.717e-05/1.157, allocations: 305.1 kB / 0.6027 GB, free: 67.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/1.159, allocations: 1.973 MB / 0.6047 GB, free: 65.62 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002957/1.162, allocations: 4.16 MB / 0.6087 GB, free: 60.39 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005742/1.168, allocations: 6.513 MB / 0.6151 GB, free: 52.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.29e-05/1.168, allocations: 20 kB / 0.6151 GB, free: 52.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.008555/1.176, allocations: 6.503 MB / 0.6215 GB, free: 46.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.689e-05/1.176, allocations: 36 kB / 0.6215 GB, free: 46.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.071e-05/1.176, allocations: 76 kB / 0.6216 GB, free: 46.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007607/1.177, allocations: 404.8 kB / 0.622 GB, free: 45.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003052/1.18, allocations: 1.065 MB / 0.623 GB, free: 44.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00394/1.184, allocations: 4.385 MB / 0.6273 GB, free: 40.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/1.187, allocations: 0.6192 MB / 0.6279 GB, free: 39.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003943/1.188, allocations: 244 kB / 0.6281 GB, free: 39.34 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004258/1.192, allocations: 3.372 MB / 0.6314 GB, free: 35.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005045/1.192, allocations: 276.5 kB / 0.6317 GB, free: 35.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004381/1.197, allocations: 3.573 MB / 0.6352 GB, free: 32.08 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003014/1.2, allocations: 2.815 MB / 0.6379 GB, free: 29.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.2, allocations: 4 kB / 0.6379 GB, free: 29.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/1.2, allocations: 11.95 kB / 0.6379 GB, free: 29.24 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/1.212, allocations: 9.855 MB / 0.6476 GB, free: 19.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/1.212, allocations: 0 / 0.6476 GB, free: 19.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/1.214, allocations: 415.4 kB / 0.6479 GB, free: 18.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005656/1.214, allocations: 313.1 kB / 0.6482 GB, free: 18.62 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/1.214, allocations: 51.92 kB / 0.6483 GB, free: 18.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003492/1.218, allocations: 4.19 MB / 0.6524 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.218, allocations: 8 kB / 0.6524 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005583/1.223, allocations: 5.117 MB / 0.6574 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009427/1.224, allocations: 0.6064 MB / 0.658 GB, free: 8.445 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002688/1.225, allocations: 44 kB / 0.658 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009884/1.226, allocations: 139.8 kB / 0.6582 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/1.226, allocations: 145.8 kB / 0.6583 GB, free: 8.125 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/1.226, allocations: 63.98 kB / 0.6584 GB, free: 8.062 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002158/1.228, allocations: 1.959 MB / 0.6603 GB, free: 6.094 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.228, allocations: 3.938 kB / 0.6603 GB, free: 6.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004154/1.232, allocations: 1.963 MB / 0.6622 GB, free: 4.121 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003805/1.233, allocations: 212.2 kB / 0.6624 GB, free: 3.906 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005602/1.238, allocations: 4.623 MB / 0.6669 GB, free: 15.28 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.238, allocations: 0 / 0.6669 GB, free: 15.28 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002283/1.241, allocations: 1.735 MB / 0.6686 GB, free: 13.53 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/1.243, allocations: 0.6767 MB / 0.6693 GB, free: 12.87 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02418/1.268, allocations: 12.95 MB / 0.6819 GB, free: 15.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006499/1.274, allocations: 5.477 MB / 0.6873 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009928/1.275, allocations: 271.4 kB / 0.6875 GB, free: 10.09 MB / 494.1 MB Notification: Performance of SimCode: time 1.132e-06/1.275, allocations: 0 / 0.6875 GB, free: 10.09 MB / 494.1 MB Notification: Performance of Templates: time 0.3467/1.622, allocations: 133 MB / 0.8174 GB, free: 127.3 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches