Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 114.5 kB / 17.73 MB, free: 5.32 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.00122/0.00122, allocations: 187 kB / 18.66 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 51.92 kB / 328.5 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09224/0.09467, allocations: 46.63 MB / 375.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.2101/0.3048, allocations: 16.84 MB / 392 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009515/0.3144, allocations: 4.238 MB / 396.2 MB, free: 312 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003007/0.3175, allocations: 118.2 kB / 396.4 MB, free: 288 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01692/0.3344, allocations: 7.464 MB / 403.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007277/0.3417, allocations: 1.538 MB / 405.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004199/0.3459, allocations: 1.212 MB / 406.6 MB, free: 9.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01137/0.3573, allocations: 8.571 MB / 415.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0352/0.3925, allocations: 22.58 MB / 437.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008382/0.401, allocations: 4.964 MB / 442.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009232/0.4102, allocations: 5.525 MB / 448.2 MB, free: 6.367 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004051/0.4143, allocations: 1.406 MB / 449.6 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005748/0.4201, allocations: 1.66 MB / 451.3 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003974/0.4241, allocations: 2.712 MB / 454 MB, free: 0.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009213/0.4333, allocations: 5.382 MB / 459.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02273/0.4561, allocations: 18.53 MB / 477.9 MB, free: 8.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.4561, allocations: 0 / 477.9 MB, free: 8.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4561, allocations: 0 / 477.9 MB, free: 8.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004904/0.4566, allocations: 0 / 477.9 MB, free: 8.598 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03252/0.4892, allocations: 10.79 MB / 488.7 MB, free: 13.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.4892, allocations: 15.89 kB / 488.7 MB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03/0.5192, allocations: 5.698 MB / 494.4 MB, free: 7.988 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01101/0.5303, allocations: 4.845 MB / 499.3 MB, free: 3.078 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005587/0.5309, allocations: 0.7064 MB / 500 MB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002777/0.5337, allocations: 0.914 MB / 0.4891 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03069/0.5644, allocations: 13.6 MB / 0.5024 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001916/0.5646, allocations: 11.91 kB / 0.5024 GB, free: 3.805 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00124/0.5659, allocations: 388 kB / 0.5028 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003994/0.5663, allocations: 467.9 kB / 0.5032 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0256/0.5919, allocations: 12.82 MB / 0.5158 GB, free: 6.125 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4681/1.06, allocations: 46.32 MB / 0.561 GB, free: 120.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/1.073, allocations: 17.1 MB / 0.5777 GB, free: 106.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002757/1.076, allocations: 1.865 MB / 0.5795 GB, free: 106 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009964/1.086, allocations: 5.965 MB / 0.5853 GB, free: 105.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/1.086, allocations: 51.22 kB / 0.5854 GB, free: 105.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 3.626e-06/1.086, allocations: 1.25 kB / 0.5854 GB, free: 105.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.007435/1.093, allocations: 4.313 MB / 0.5896 GB, free: 104.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/1.093, allocations: 71.66 kB / 0.5897 GB, free: 104.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004684/1.098, allocations: 3.325 MB / 0.5929 GB, free: 103.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001162/1.098, allocations: 54.73 kB / 0.593 GB, free: 103.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001677/1.1, allocations: 4.186 MB / 0.5971 GB, free: 100.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003803/1.1, allocations: 0.6915 MB / 0.5977 GB, free: 100.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/1.101, allocations: 1.065 MB / 0.5988 GB, free: 99.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.387e-05/1.101, allocations: 301.1 kB / 0.5991 GB, free: 99.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002261/1.104, allocations: 2.039 MB / 0.601 GB, free: 98.69 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003066/1.107, allocations: 4.692 MB / 0.6056 GB, free: 94.38 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005564/1.112, allocations: 7.095 MB / 0.6126 GB, free: 88.78 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.183e-05/1.112, allocations: 26.38 kB / 0.6126 GB, free: 88.78 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.008183/1.121, allocations: 7.009 MB / 0.6194 GB, free: 85.78 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.231e-05/1.121, allocations: 46.19 kB / 0.6195 GB, free: 85.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-05/1.121, allocations: 91.47 kB / 0.6196 GB, free: 85.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007735/1.122, allocations: 435.4 kB / 0.62 GB, free: 85.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003085/1.125, allocations: 1.178 MB / 0.6211 GB, free: 85.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003976/1.129, allocations: 4.375 MB / 0.6254 GB, free: 82.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003204/1.132, allocations: 0.7218 MB / 0.6261 GB, free: 81.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003218/1.132, allocations: 282.1 kB / 0.6264 GB, free: 81.58 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (623): * Single equations (assignments): 621 * 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.004502/1.137, allocations: 3.486 MB / 0.6298 GB, free: 79.39 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004947/1.137, allocations: 294.1 kB / 0.6301 GB, free: 79.23 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004223/1.141, allocations: 3.314 MB / 0.6333 GB, free: 76.31 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002813/1.144, allocations: 2.538 MB / 0.6358 GB, free: 73.76 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.144, allocations: 7.984 kB / 0.6358 GB, free: 73.75 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/1.144, allocations: 7.969 kB / 0.6358 GB, free: 73.75 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/1.157, allocations: 9.3 MB / 0.6449 GB, free: 64.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/1.157, allocations: 0.6562 kB / 0.6449 GB, free: 64.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/1.159, allocations: 359.5 kB / 0.6452 GB, free: 64.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006239/1.159, allocations: 320.6 kB / 0.6455 GB, free: 63.74 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/1.159, allocations: 43.92 kB / 0.6456 GB, free: 63.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003734/1.163, allocations: 4.186 MB / 0.6496 GB, free: 59.37 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.163, allocations: 0 / 0.6496 GB, free: 59.37 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005139/1.168, allocations: 4.702 MB / 0.6542 GB, free: 54.64 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000938/1.169, allocations: 0.5903 MB / 0.6548 GB, free: 54.03 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005364/1.17, allocations: 32 kB / 0.6548 GB, free: 54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/1.171, allocations: 140.9 kB / 0.655 GB, free: 53.86 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/1.171, allocations: 129.8 kB / 0.6551 GB, free: 53.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/1.172, allocations: 55.98 kB / 0.6552 GB, free: 53.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002824/1.174, allocations: 2.194 MB / 0.6573 GB, free: 51.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/1.174, allocations: 4.062 kB / 0.6573 GB, free: 51.48 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004789/1.179, allocations: 2.033 MB / 0.6593 GB, free: 49.44 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (180): * Single equations (assignments): 178 * 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.0004215/1.18, allocations: 193 kB / 0.6595 GB, free: 49.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005647/1.185, allocations: 4.722 MB / 0.6641 GB, free: 44.53 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.185, allocations: 0 / 0.6641 GB, free: 44.53 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001694/1.187, allocations: 1.601 MB / 0.6656 GB, free: 42.92 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002991/1.19, allocations: 0.6804 MB / 0.6663 GB, free: 42.27 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0216/1.212, allocations: 13.69 MB / 0.6797 GB, free: 28.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006254/1.218, allocations: 5.796 MB / 0.6853 GB, free: 22.74 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003886/1.222, allocations: 1.832 MB / 0.6871 GB, free: 20.91 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006471/1.222, allocations: 235.4 kB / 0.6874 GB, free: 20.68 MB / 478.1 MB Notification: Performance of SimCode: time 8.21e-07/1.222, allocations: 0 / 0.6874 GB, free: 20.68 MB / 478.1 MB Notification: Performance of Templates: time 0.06545/1.288, allocations: 39.58 MB / 0.726 GB, free: 13.11 MB / 0.4982 GB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches