Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 177.2 MB / 204.9 MB, free: 9.047 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 50.45 kB / 325.6 MB, free: 288 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08879/0.09034, allocations: 53.34 MB / 378.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01745/0.1078, allocations: 14.25 MB / 393.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007913/0.1157, allocations: 4.025 MB / 397.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.1169, allocations: 163.2 kB / 397.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01622/0.1331, allocations: 7.33 MB / 404.7 MB, free: 5.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003901/0.137, allocations: 1.322 MB / 406 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002742/0.1398, allocations: 1.227 MB / 407.2 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009433/0.1492, allocations: 8.316 MB / 415.5 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02197/0.1712, allocations: 14.22 MB / 429.8 MB, free: 12.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006519/0.1777, allocations: 4.914 MB / 434.7 MB, free: 7.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008531/0.1862, allocations: 5.166 MB / 439.9 MB, free: 2.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002438/0.1886, allocations: 1.387 MB / 441.2 MB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003605/0.1922, allocations: 1.66 MB / 442.9 MB, free: 15.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002722/0.195, allocations: 2.592 MB / 445.5 MB, free: 12.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005851/0.2008, allocations: 4.039 MB / 449.5 MB, free: 8.691 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01931/0.2201, allocations: 18.45 MB / 468 MB, free: 6.188 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2201, allocations: 0 / 468 MB, free: 6.188 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2201, allocations: 4 kB / 468 MB, free: 6.184 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003028/0.2204, allocations: 0 / 468 MB, free: 6.184 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.3466/0.5671, allocations: 10.55 MB / 478.5 MB, free: 73.24 MB / 430.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.5671, allocations: 10.28 kB / 478.5 MB, free: 73.24 MB / 430.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01961/0.5867, allocations: 3.715 MB / 482.3 MB, free: 72.57 MB / 430.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0114/0.5981, allocations: 5.427 MB / 487.7 MB, free: 70.08 MB / 430.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008131/0.5989, allocations: 0.6821 MB / 488.4 MB, free: 69.77 MB / 430.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002618/0.6015, allocations: 0.8903 MB / 489.3 MB, free: 69.47 MB / 430.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0235/0.625, allocations: 12.81 MB / 0.4903 GB, free: 58.6 MB / 430.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002579/0.6253, allocations: 4 kB / 0.4903 GB, free: 58.59 MB / 430.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001577/0.6269, allocations: 387.2 kB / 0.4907 GB, free: 58.22 MB / 430.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002565/0.6271, allocations: 399.1 kB / 0.491 GB, free: 57.83 MB / 430.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01754/0.6447, allocations: 11.41 MB / 0.5022 GB, free: 46.42 MB / 430.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04681/0.6915, allocations: 37.39 MB / 0.5387 GB, free: 8.566 MB / 430.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007241/0.6987, allocations: 4.154 MB / 0.5428 GB, free: 4.668 MB / 430.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/0.7004, allocations: 1.542 MB / 0.5443 GB, free: 3.133 MB / 430.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/0.7006, allocations: 73.94 kB / 0.5443 GB, free: 3.062 MB / 430.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.7006, allocations: 52.56 kB / 0.5444 GB, free: 3 MB / 430.2 MB Notification: Performance of pre-optimization done (n=223): time 4.598e-06/0.7007, allocations: 0 / 0.5444 GB, free: 3 MB / 430.2 MB Notification: Performance of matching and sorting (n=223): time 0.00798/0.7086, allocations: 4.599 MB / 0.5489 GB, free: 14.39 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.7087, allocations: 77.41 kB / 0.5489 GB, free: 14.31 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004442/0.7131, allocations: 3.041 MB / 0.5519 GB, free: 11.34 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.7133, allocations: 65.7 kB / 0.552 GB, free: 11.27 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.003047/0.7163, allocations: 3.981 MB / 0.5559 GB, free: 7.277 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007917/0.7171, allocations: 0.8253 MB / 0.5567 GB, free: 6.445 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001451/0.7186, allocations: 0.9643 MB / 0.5576 GB, free: 5.469 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.7187, allocations: 305.1 kB / 0.5579 GB, free: 5.168 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003173/0.7219, allocations: 1.976 MB / 0.5598 GB, free: 3.18 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005174/0.7271, allocations: 4.161 MB / 0.5639 GB, free: 13.95 MB / 462.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008796/0.7358, allocations: 6.521 MB / 0.5703 GB, free: 6.383 MB / 462.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-05/0.7359, allocations: 23.94 kB / 0.5703 GB, free: 6.359 MB / 462.2 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01144/0.7473, allocations: 6.52 MB / 0.5767 GB, free: 15.83 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 7.764e-05/0.7474, allocations: 36 kB / 0.5767 GB, free: 15.79 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/0.7475, allocations: 76 kB / 0.5768 GB, free: 15.72 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009895/0.7485, allocations: 409.4 kB / 0.5772 GB, free: 15.32 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003485/0.752, allocations: 1.065 MB / 0.5782 GB, free: 14.25 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005812/0.7578, allocations: 4.183 MB / 0.5823 GB, free: 9.961 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003141/0.761, allocations: 0.6286 MB / 0.5829 GB, free: 9.328 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004496/0.7614, allocations: 252 kB / 0.5831 GB, free: 9.082 MB / 478.2 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.005304/0.7667, allocations: 3.376 MB / 0.5864 GB, free: 5.691 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006376/0.7674, allocations: 286.2 kB / 0.5867 GB, free: 5.41 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006406/0.7738, allocations: 3.584 MB / 0.5902 GB, free: 1.797 MB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00468/0.7784, allocations: 2.815 MB / 0.593 GB, free: 14.97 MB / 494.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.7785, allocations: 4 kB / 0.593 GB, free: 14.96 MB / 494.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.507e-05/0.7785, allocations: 11.95 kB / 0.593 GB, free: 14.95 MB / 494.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/0.7942, allocations: 7.997 MB / 0.6008 GB, free: 6.891 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.7942, allocations: 0 / 0.6008 GB, free: 6.891 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/0.796, allocations: 419.4 kB / 0.6012 GB, free: 6.48 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007486/0.7967, allocations: 312.6 kB / 0.6015 GB, free: 6.172 MB / 494.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/0.7969, allocations: 51.97 kB / 0.6015 GB, free: 6.121 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00548/0.8023, allocations: 4.007 MB / 0.6054 GB, free: 2.016 MB / 494.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.8023, allocations: 8 kB / 0.6054 GB, free: 2.008 MB / 494.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008017/0.8104, allocations: 5.136 MB / 0.6105 GB, free: 12.84 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001328/0.8117, allocations: 0.5562 MB / 0.611 GB, free: 12.28 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004787/0.8122, allocations: 43.95 kB / 0.611 GB, free: 12.23 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.8135, allocations: 131.8 kB / 0.6112 GB, free: 12.11 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003107/0.8139, allocations: 153.6 kB / 0.6113 GB, free: 11.96 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/0.814, allocations: 71.97 kB / 0.6114 GB, free: 11.89 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.00364/0.8177, allocations: 1.939 MB / 0.6133 GB, free: 9.938 MB / 0.4982 GB Notification: Performance of sort global known variables: time 9e-08/0.8177, allocations: 0 / 0.6133 GB, free: 9.938 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.005529/0.8232, allocations: 1.988 MB / 0.6152 GB, free: 7.941 MB / 0.4982 GB 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.0004514/0.8236, allocations: 218.7 kB / 0.6154 GB, free: 7.719 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.007634/0.8313, allocations: 4.434 MB / 0.6198 GB, free: 3.277 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.8313, allocations: 4 kB / 0.6198 GB, free: 3.273 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002592/0.8339, allocations: 1.61 MB / 0.6213 GB, free: 1.656 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/0.8371, allocations: 0.6813 MB / 0.622 GB, free: 0.9961 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02361/0.8607, allocations: 13.51 MB / 0.6352 GB, free: 3.418 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006158/0.8669, allocations: 5.172 MB / 0.6402 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003894/0.8708, allocations: 1.686 MB / 0.6419 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006208/0.8714, allocations: 244.5 kB / 0.6421 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of SimCode: time 7.42e-07/0.8714, allocations: 0 / 0.6421 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.2475/1.119, allocations: 38.89 MB / 0.6801 GB, free: 170.8 MB / 0.5451 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 6.476583878044039]