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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 114.6 kB / 17.28 MB, free: 6.219 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.001927/0.001927, allocations: 189.3 kB / 18.2 MB, free: 5.301 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.856/1.856, allocations: 205.1 MB / 224.1 MB, free: 12.36 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.0014/0.0014, allocations: 47.94 kB / 280.3 MB, free: 3.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.146, allocations: 46.63 MB / 326.9 MB, free: 4.688 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.02138/0.1674, allocations: 16.57 MB / 343.4 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01356/0.181, allocations: 4.17 MB / 347.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005278/0.1865, allocations: 111.7 kB / 347.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01845/0.2049, allocations: 7.091 MB / 354.8 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.2151, allocations: 1.353 MB / 356.2 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006379/0.2215, allocations: 1.107 MB / 357.3 MB, free: 6.152 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01694/0.2385, allocations: 8.499 MB / 365.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.371/0.6095, allocations: 26.11 MB / 391.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01166/0.6213, allocations: 5.033 MB / 396.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01688/0.6382, allocations: 5.567 MB / 402.5 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008308/0.6466, allocations: 1.404 MB / 403.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/0.657, allocations: 1.659 MB / 405.6 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006773/0.6638, allocations: 2.71 MB / 408.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01002/0.6738, allocations: 5.395 MB / 413.7 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02118/0.695, allocations: 18.42 MB / 432.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.6951, allocations: 0 / 432.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.6951, allocations: 0 / 432.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0007429/0.6959, allocations: 0 / 432.1 MB, free: 8.859 MB / 334.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.04081/0.7367, allocations: 10.81 MB / 442.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.009e-05/0.7368, allocations: 8.031 kB / 442.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004996/0.7418, allocations: 1.347 MB / 444.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03034/0.7721, allocations: 5.708 MB / 449.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01409/0.7863, allocations: 4.839 MB / 454.8 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008567/0.7872, allocations: 0.7057 MB / 455.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004787/0.792, allocations: 0.9174 MB / 456.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04841/0.8404, allocations: 13.62 MB / 470 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007016/0.8412, allocations: 7.656 kB / 470 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004718/0.846, allocations: 389.8 kB / 470.4 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007036/0.8467, allocations: 455.9 kB / 470.9 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04069/0.8874, allocations: 12.85 MB / 483.7 MB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.117/1.004, allocations: 46.95 MB / 0.5182 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02146/1.026, allocations: 17.13 MB / 0.5349 GB, free: 2.293 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003747/1.03, allocations: 1.897 MB / 0.5368 GB, free: 396 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5656/1.595, allocations: 6.089 MB / 0.5427 GB, free: 147.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.044e-05/1.596, allocations: 55.22 kB / 0.5428 GB, free: 147.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=194): time 7.083e-06/1.596, allocations: 0.875 kB / 0.5428 GB, free: 147.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=194): time 0.01105/1.607, allocations: 4.417 MB / 0.5471 GB, free: 146.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/1.607, allocations: 71.84 kB / 0.5472 GB, free: 146 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006967/1.614, allocations: 3.325 MB / 0.5504 GB, free: 144.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001656/1.614, allocations: 57.61 kB / 0.5505 GB, free: 144.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002724/1.617, allocations: 4.175 MB / 0.5546 GB, free: 141.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007132/1.617, allocations: 0.7085 MB / 0.5553 GB, free: 141.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001956/1.619, allocations: 1.069 MB / 0.5563 GB, free: 140.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.783e-05/1.619, allocations: 305.1 kB / 0.5566 GB, free: 140.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003242/1.623, allocations: 2.078 MB / 0.5586 GB, free: 139.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005003/1.628, allocations: 4.728 MB / 0.5632 GB, free: 135.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008399/1.636, allocations: 7.184 MB / 0.5703 GB, free: 129.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/1.636, allocations: 23.72 kB / 0.5703 GB, free: 129.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01145/1.648, allocations: 7.09 MB / 0.5772 GB, free: 126.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/1.648, allocations: 47.38 kB / 0.5772 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001786/1.648, allocations: 96.12 kB / 0.5773 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/1.649, allocations: 430.8 kB / 0.5777 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003335/1.652, allocations: 1.176 MB / 0.5789 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0048/1.657, allocations: 4.382 MB / 0.5832 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004605/1.662, allocations: 0.7191 MB / 0.5839 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005043/1.662, allocations: 287.9 kB / 0.5842 GB, free: 122.9 MB / 446.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 (626): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.007923/1.67, allocations: 3.486 MB / 0.5876 GB, free: 119.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/1.671, allocations: 292.2 kB / 0.5878 GB, free: 119.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005597/1.677, allocations: 3.396 MB / 0.5911 GB, free: 116.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004268/1.681, allocations: 2.62 MB / 0.5937 GB, free: 114.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.429e-05/1.681, allocations: 4 kB / 0.5937 GB, free: 114.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.345e-05/1.681, allocations: 12.45 kB / 0.5937 GB, free: 114.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02352/1.705, allocations: 9.433 MB / 0.6029 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/1.705, allocations: 96 / 0.6029 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/1.706, allocations: 363.5 kB / 0.6033 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007899/1.707, allocations: 321.2 kB / 0.6036 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001903/1.707, allocations: 39.98 kB / 0.6036 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005805/1.713, allocations: 4.185 MB / 0.6077 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/1.713, allocations: 8 kB / 0.6077 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006633/1.72, allocations: 4.836 MB / 0.6124 GB, free: 95.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/1.721, allocations: 0.6023 MB / 0.613 GB, free: 95.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009058/1.722, allocations: 32 kB / 0.6131 GB, free: 95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001901/1.724, allocations: 135.8 kB / 0.6132 GB, free: 94.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003322/1.725, allocations: 133.8 kB / 0.6133 GB, free: 94.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.725, allocations: 52 kB / 0.6134 GB, free: 94.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005889/1.731, allocations: 2.194 MB / 0.6155 GB, free: 92.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.731, allocations: 0 / 0.6155 GB, free: 92.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008139/1.739, allocations: 2.032 MB / 0.6175 GB, free: 90.45 MB / 446.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 (183): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.006994/1.746, allocations: 5.494 MB / 0.6229 GB, free: 84.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0123/1.758, allocations: 6.515 MB / 0.6292 GB, free: 78.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.758, allocations: 0 / 0.6292 GB, free: 78.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002048/1.76, allocations: 1.637 MB / 0.6308 GB, free: 76.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004649/1.765, allocations: 0.6954 MB / 0.6315 GB, free: 76.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1061/1.871, allocations: 50.29 MB / 0.6806 GB, free: 21.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01286/1.884, allocations: 5.808 MB / 0.6863 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005513/1.89, allocations: 1.825 MB / 0.6881 GB, free: 13.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005064/1.895, allocations: 2.842 MB / 0.6908 GB, free: 10.67 MB / 446.1 MB Notification: Performance of SimCode: time 1.523e-06/1.895, allocations: 3.938 kB / 0.6908 GB, free: 10.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.32/5.215, allocations: 92.91 MB / 0.7816 GB, free: 78.54 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003094/5.215, allocations: 254.9 kB / 0.7818 GB, free: 78.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.907/10.12, allocations: 0 / 0.7818 GB, free: 78.28 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches