Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001849/0.001849, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002215/0.002215, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 230.5 MB / 258.1 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.89 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2586, allocations: 53.41 MB / 432.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.02027/0.2788, allocations: 16.62 MB / 449.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009823/0.2887, allocations: 4.173 MB / 453.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002824/0.2915, allocations: 163.2 kB / 453.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01792/0.3094, allocations: 7.516 MB / 460.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006438/0.3159, allocations: 1.359 MB / 462.3 MB, free: 8.801 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004167/0.32, allocations: 1.261 MB / 463.5 MB, free: 7.543 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01188/0.3319, allocations: 8.311 MB / 471.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02918/0.3611, allocations: 14.36 MB / 486.2 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007883/0.369, allocations: 4.918 MB / 491.1 MB, free: 11.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009346/0.3783, allocations: 5.353 MB / 496.5 MB, free: 6.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003606/0.3819, allocations: 1.383 MB / 497.8 MB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004851/0.3868, allocations: 1.679 MB / 499.5 MB, free: 3.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003815/0.3906, allocations: 2.588 MB / 0.4903 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01106/0.4016, allocations: 5.214 MB / 0.4954 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02753/0.4292, allocations: 18.36 MB / 0.5134 GB, free: 9.051 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.4292, allocations: 4 kB / 0.5134 GB, free: 9.047 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4292, allocations: 0 / 0.5134 GB, free: 9.047 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000605/0.4298, allocations: 0 / 0.5134 GB, free: 9.047 MB / 430.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.03451/0.4643, allocations: 10.55 MB / 0.5237 GB, free: 14.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.4643, allocations: 8.031 kB / 0.5237 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02024/0.4846, allocations: 3.71 MB / 0.5273 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01237/0.497, allocations: 5.425 MB / 0.5326 GB, free: 5.211 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008347/0.4978, allocations: 0.6824 MB / 0.5333 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003881/0.5017, allocations: 0.8906 MB / 0.5341 GB, free: 3.637 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4861/0.9877, allocations: 12.74 MB / 0.5466 GB, free: 84.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001821/0.9879, allocations: 6.703 kB / 0.5466 GB, free: 84.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001016/0.9889, allocations: 378 kB / 0.5469 GB, free: 84.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002343/0.9892, allocations: 396.8 kB / 0.5473 GB, free: 84.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01688/1.006, allocations: 11.43 MB / 0.5585 GB, free: 78.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0511/1.057, allocations: 42.37 MB / 0.5999 GB, free: 37.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006889/1.064, allocations: 4.212 MB / 0.604 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/1.066, allocations: 1.53 MB / 0.6055 GB, free: 31.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/1.066, allocations: 77.11 kB / 0.6055 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/1.066, allocations: 60.55 kB / 0.6056 GB, free: 31.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.659e-06/1.066, allocations: 0 / 0.6056 GB, free: 31.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007026/1.073, allocations: 4.598 MB / 0.6101 GB, free: 27.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/1.073, allocations: 77.34 kB / 0.6102 GB, free: 27.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003181/1.076, allocations: 2.932 MB / 0.613 GB, free: 24.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001303/1.076, allocations: 61.7 kB / 0.6131 GB, free: 24.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001363/1.078, allocations: 3.979 MB / 0.617 GB, free: 20.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004387/1.078, allocations: 0.8274 MB / 0.6178 GB, free: 19.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000969/1.079, allocations: 0.9643 MB / 0.6187 GB, free: 18.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.56e-05/1.079, allocations: 309.1 kB / 0.619 GB, free: 18.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002091/1.081, allocations: 1.973 MB / 0.6209 GB, free: 16.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002774/1.084, allocations: 4.165 MB / 0.625 GB, free: 11.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005083/1.089, allocations: 6.517 MB / 0.6314 GB, free: 3.676 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.134e-05/1.089, allocations: 20 kB / 0.6314 GB, free: 3.656 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.009005/1.098, allocations: 6.524 MB / 0.6378 GB, free: 13.12 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.598e-05/1.098, allocations: 36 kB / 0.6378 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/1.098, allocations: 76 kB / 0.6379 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009557/1.099, allocations: 417.2 kB / 0.6383 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003359/1.103, allocations: 1.065 MB / 0.6393 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005696/1.108, allocations: 4.282 MB / 0.6435 GB, free: 7.145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003034/1.111, allocations: 0.6286 MB / 0.6441 GB, free: 6.512 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004279/1.112, allocations: 256 kB / 0.6443 GB, free: 6.262 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.005326/1.117, allocations: 3.369 MB / 0.6476 GB, free: 2.879 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006121/1.118, allocations: 290.1 kB / 0.6479 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006119/1.124, allocations: 3.567 MB / 0.6514 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004406/1.128, allocations: 2.811 MB / 0.6541 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/1.128, allocations: 4 kB / 0.6541 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.541e-05/1.128, allocations: 19.95 kB / 0.6542 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01765/1.146, allocations: 9.913 MB / 0.6638 GB, free: 2.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/1.146, allocations: 0 / 0.6638 GB, free: 2.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/1.148, allocations: 415.4 kB / 0.6642 GB, free: 1.773 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007511/1.148, allocations: 316.6 kB / 0.6645 GB, free: 1.461 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/1.148, allocations: 51.98 kB / 0.6646 GB, free: 1.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00531/1.154, allocations: 4.098 MB / 0.6686 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.154, allocations: 4 kB / 0.6686 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007849/1.162, allocations: 5.142 MB / 0.6736 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/1.163, allocations: 0.5599 MB / 0.6742 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003298/1.163, allocations: 43.98 kB / 0.6742 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/1.165, allocations: 127.8 kB / 0.6743 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/1.165, allocations: 157.8 kB / 0.6745 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/1.165, allocations: 71.92 kB / 0.6746 GB, free: 7.062 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003066/1.168, allocations: 1.963 MB / 0.6765 GB, free: 5.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/1.168, allocations: 0 / 0.6765 GB, free: 5.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005129/1.173, allocations: 1.988 MB / 0.6784 GB, free: 3.094 MB / 494.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.0004878/1.174, allocations: 206.7 kB / 0.6786 GB, free: 2.883 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007503/1.181, allocations: 4.444 MB / 0.6829 GB, free: 14.43 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.181, allocations: 4.125 kB / 0.683 GB, free: 14.43 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002634/1.184, allocations: 1.613 MB / 0.6845 GB, free: 12.81 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/1.187, allocations: 0.6797 MB / 0.6852 GB, free: 12.14 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02463/1.212, allocations: 13.25 MB / 0.6981 GB, free: 14.83 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00689/1.218, allocations: 5.474 MB / 0.7035 GB, free: 9.32 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/1.22, allocations: 283.4 kB / 0.7037 GB, free: 9.043 MB / 0.5138 GB Notification: Performance of SimCode: time 1.523e-06/1.22, allocations: 4 kB / 0.7037 GB, free: 9.039 MB / 0.5138 GB Notification: Performance of Templates: time 0.3559/1.575, allocations: 133.4 MB / 0.834 GB, free: 107.1 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.433020889991894]