Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.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.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 108.4 kB / 18.36 MB, free: 4.633 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.001651/0.001651, allocations: 191 kB / 19.29 MB, free: 3.703 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.412/1.412, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001248/0.001248, allocations: 55.92 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08302/0.08428, allocations: 46.62 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.007015/0.09132, allocations: 5.957 MB / 334.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002871/0.09422, allocations: 1.679 MB / 336.4 MB, free: 12.08 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004291/0.09467, allocations: 43.81 kB / 336.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005588/0.09527, allocations: 309.4 kB / 336.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009399/0.09622, allocations: 361.5 kB / 337.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006104/0.09684, allocations: 359.5 kB / 337.4 MB, free: 11.03 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0018/0.09865, allocations: 2.009 MB / 339.4 MB, free: 9.008 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002752/0.1014, allocations: 2.699 MB / 342.1 MB, free: 6.246 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.1025, allocations: 1.036 MB / 343.2 MB, free: 5.207 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.1039, allocations: 1.199 MB / 344.4 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003409/0.1042, allocations: 308 kB / 344.7 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006786/0.1049, allocations: 479.6 kB / 345.1 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005916/0.1055, allocations: 0.7364 MB / 345.9 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.1067, allocations: 1.26 MB / 347.1 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003295/0.11, allocations: 3.785 MB / 350.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.11, allocations: 0 / 350.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1101, allocations: 0 / 350.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.969e-05/0.1102, allocations: 0 / 350.9 MB, free: 13.43 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.004587/0.1147, allocations: 2.47 MB / 353.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.384e-05/0.1148, allocations: 11.89 kB / 353.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007292/0.1156, allocations: 242.1 kB / 353.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/0.118, allocations: 1.174 MB / 354.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.1181, allocations: 172.8 kB / 355 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002944/0.1184, allocations: 224 kB / 355.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004135/0.1226, allocations: 2.542 MB / 357.7 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.513e-05/0.1226, allocations: 0 / 357.7 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.1228, allocations: 95.98 kB / 357.8 MB, free: 6.355 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.842e-05/0.1229, allocations: 56 kB / 357.9 MB, free: 6.301 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003542/0.1264, allocations: 2.134 MB / 360 MB, free: 4.152 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01241/0.1389, allocations: 7.482 MB / 367.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.1404, allocations: 1.248 MB / 368.7 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.1415, allocations: 0.6257 MB / 369.4 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.1415, allocations: 12.56 kB / 369.4 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.1416, allocations: 35.12 kB / 369.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 3.396e-06/0.1416, allocations: 0 / 369.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.004198/0.1458, allocations: 2.431 MB / 371.8 MB, free: 7.891 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.1459, allocations: 59.95 kB / 371.9 MB, free: 7.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.1469, allocations: 0.7972 MB / 372.7 MB, free: 7.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-05/0.147, allocations: 41.69 kB / 372.7 MB, free: 6.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007579/0.1478, allocations: 0.9099 MB / 373.6 MB, free: 6.043 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.148, allocations: 232.7 kB / 373.9 MB, free: 5.812 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.1482, allocations: 142.5 kB / 374 MB, free: 5.668 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1484, allocations: 394.7 kB / 374.4 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005284/0.1489, allocations: 365.8 kB / 374.8 MB, free: 4.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006604/0.1496, allocations: 0.5828 MB / 375.3 MB, free: 4.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.1509, allocations: 0.9893 MB / 376.3 MB, free: 3.148 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.151, allocations: 4 kB / 376.3 MB, free: 3.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001722/0.1527, allocations: 1.147 MB / 377.5 MB, free: 1.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.131e-05/0.1528, allocations: 11.94 kB / 377.5 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.1528, allocations: 8 kB / 377.5 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002882/0.1531, allocations: 112.8 kB / 377.6 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/0.1537, allocations: 171.7 kB / 377.8 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1582/0.3119, allocations: 2.316 MB / 380.1 MB, free: 49.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.313, allocations: 40.72 kB / 380.1 MB, free: 49.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/0.3132, allocations: 33.86 kB / 380.2 MB, free: 49.78 MB / 318.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.001378/0.3146, allocations: 0.659 MB / 380.8 MB, free: 49.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/0.3148, allocations: 79.7 kB / 380.9 MB, free: 49.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.315, allocations: 98.19 kB / 381 MB, free: 49.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/0.3151, allocations: 12.08 kB / 381 MB, free: 49.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.3151, allocations: 5.047 kB / 381 MB, free: 49.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.3151, allocations: 5.156 kB / 381 MB, free: 49.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006506/0.3216, allocations: 2.662 MB / 383.7 MB, free: 48.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/0.3217, allocations: 1.812 kB / 383.7 MB, free: 48.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006729/0.3224, allocations: 114.4 kB / 383.8 MB, free: 48.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003952/0.3228, allocations: 99.5 kB / 383.9 MB, free: 48.86 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.711e-05/0.3229, allocations: 15.3 kB / 383.9 MB, free: 48.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/0.3257, allocations: 2.263 MB / 386.2 MB, free: 47.04 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.3257, allocations: 6.609 kB / 386.2 MB, free: 47.04 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003483/0.3292, allocations: 1.423 MB / 387.6 MB, free: 46.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007866/0.33, allocations: 225.3 kB / 387.8 MB, free: 46.3 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002808/0.3303, allocations: 15.23 kB / 387.8 MB, free: 46.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008865/0.3312, allocations: 41.41 kB / 387.9 MB, free: 46.29 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/0.3314, allocations: 54.39 kB / 387.9 MB, free: 46.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.483e-05/0.3315, allocations: 20.06 kB / 387.9 MB, free: 46.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001441/0.333, allocations: 0.5587 MB / 388.5 MB, free: 46.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.9e-07/0.333, allocations: 0 / 388.5 MB, free: 46.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001876/0.3349, allocations: 296.3 kB / 388.8 MB, free: 46.02 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.0004128/0.3353, allocations: 140.4 kB / 388.9 MB, free: 45.92 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002791/0.3381, allocations: 1.008 MB / 389.9 MB, free: 45.51 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3381, allocations: 0 / 389.9 MB, free: 45.51 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.3393, allocations: 0.5612 MB / 390.5 MB, free: 45.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.3412, allocations: 218.6 kB / 390.7 MB, free: 45.19 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009168/0.3504, allocations: 3.211 MB / 393.9 MB, free: 43.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002318/0.3528, allocations: 1.723 MB / 395.7 MB, free: 42.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009733/0.3538, allocations: 201.4 kB / 395.8 MB, free: 42.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/0.3542, allocations: 59.2 kB / 395.9 MB, free: 42.74 MB / 318.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3542, allocations: 0.9375 kB / 395.9 MB, free: 42.74 MB / 318.1 MB Notification: Performance of Templates: time 0.0309/0.3851, allocations: 12.23 MB / 408.1 MB, free: 33.94 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches