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.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.001396/0.001396, allocations: 84.31 kB / 22 MB, free: 4.754 MB / 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.001427/0.001427, allocations: 157.8 kB / 25.24 MB, free: 2.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 158.6 MB / 187 MB, free: 6.203 MB / 174.1 MB " [Timeout remaining time 179] 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.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.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 60.25 kB / 299.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.2004, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01789/0.2182, allocations: 14.5 MB / 363 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008948/0.2272, allocations: 4.158 MB / 367.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00264/0.2298, allocations: 139.3 kB / 367.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01809/0.2479, allocations: 7.34 MB / 374.7 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005467/0.2534, allocations: 1.398 MB / 376.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003645/0.257, allocations: 1.317 MB / 377.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01074/0.2678, allocations: 8.623 MB / 386 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02563/0.2934, allocations: 14.3 MB / 400.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007993/0.3014, allocations: 5.07 MB / 405.4 MB, free: 6.316 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009311/0.3107, allocations: 5.407 MB / 410.8 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003133/0.3138, allocations: 1.402 MB / 412.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004194/0.318, allocations: 1.656 MB / 413.8 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003283/0.3213, allocations: 2.712 MB / 416.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006473/0.3278, allocations: 4.187 MB / 420.7 MB, free: 6.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02141/0.3492, allocations: 18.67 MB / 439.4 MB, free: 4.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.3492, allocations: 0 / 439.4 MB, free: 4.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3492, allocations: 0 / 439.4 MB, free: 4.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004015/0.3496, allocations: 0 / 439.4 MB, free: 4.188 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.03137/0.381, allocations: 10.9 MB / 450.3 MB, free: 9.211 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.381, allocations: 15.98 kB / 450.3 MB, free: 9.195 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03199/0.413, allocations: 5.762 MB / 456.1 MB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/0.4246, allocations: 4.907 MB / 461 MB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000803/0.4254, allocations: 0.6986 MB / 461.7 MB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003713/0.4291, allocations: 0.9257 MB / 462.6 MB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3475/0.7766, allocations: 13.67 MB / 476.3 MB, free: 94.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002414/0.7769, allocations: 4.375 kB / 476.3 MB, free: 94.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001386/0.7783, allocations: 392.4 kB / 476.7 MB, free: 94.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005419/0.7788, allocations: 462.9 kB / 477.1 MB, free: 94.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0216/0.8004, allocations: 12.78 MB / 489.9 MB, free: 89.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05716/0.8576, allocations: 39.3 MB / 0.5168 GB, free: 54.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009675/0.8672, allocations: 5.299 MB / 0.522 GB, free: 49.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002087/0.8693, allocations: 1.706 MB / 0.5236 GB, free: 47.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008111/0.8774, allocations: 5.396 MB / 0.5289 GB, free: 42.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.8775, allocations: 60.48 kB / 0.529 GB, free: 42.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=188): time 4.248e-06/0.8775, allocations: 0 / 0.529 GB, free: 42.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=188): time 0.006757/0.8842, allocations: 4.234 MB / 0.5331 GB, free: 38.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.8843, allocations: 73.41 kB / 0.5332 GB, free: 38.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003665/0.8879, allocations: 3.469 MB / 0.5366 GB, free: 34.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001853/0.8881, allocations: 57.7 kB / 0.5366 GB, free: 34.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001526/0.8896, allocations: 4.357 MB / 0.5409 GB, free: 30.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004873/0.8901, allocations: 0.7248 MB / 0.5416 GB, free: 29.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/0.8912, allocations: 1.071 MB / 0.5426 GB, free: 28.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.684e-05/0.8913, allocations: 301.1 kB / 0.5429 GB, free: 28.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002307/0.8936, allocations: 2.044 MB / 0.5449 GB, free: 26.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003202/0.8968, allocations: 4.686 MB / 0.5495 GB, free: 20.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006109/0.9029, allocations: 7.093 MB / 0.5564 GB, free: 11.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.171e-05/0.903, allocations: 28 kB / 0.5564 GB, free: 11.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.0094/0.9124, allocations: 7.013 MB / 0.5633 GB, free: 4.922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.439e-05/0.9124, allocations: 44 kB / 0.5633 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/0.9125, allocations: 95.94 kB / 0.5634 GB, free: 4.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000755/0.9133, allocations: 435.4 kB / 0.5638 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003369/0.9166, allocations: 1.174 MB / 0.565 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004424/0.9211, allocations: 4.191 MB / 0.5691 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004003/0.9251, allocations: 0.7295 MB / 0.5698 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008123/0.9259, allocations: 284 kB / 0.5701 GB, free: 13.88 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 (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.005958/0.9318, allocations: 3.485 MB / 0.5735 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006844/0.9325, allocations: 302.1 kB / 0.5737 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005742/0.9383, allocations: 3.297 MB / 0.577 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004051/0.9423, allocations: 2.534 MB / 0.5794 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.9423, allocations: 4 kB / 0.5794 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/0.9424, allocations: 11.91 kB / 0.5795 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/0.9564, allocations: 7.428 MB / 0.5867 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.9564, allocations: 4.094 kB / 0.5867 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/0.958, allocations: 355.5 kB / 0.5871 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007525/0.9587, allocations: 317 kB / 0.5874 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/0.9589, allocations: 43.92 kB / 0.5874 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005302/0.9642, allocations: 4 MB / 0.5913 GB, free: 7.906 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.467e-06/0.9642, allocations: 8.031 kB / 0.5913 GB, free: 7.898 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007331/0.9715, allocations: 4.702 MB / 0.5959 GB, free: 3.164 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/0.9729, allocations: 0.5366 MB / 0.5964 GB, free: 2.625 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003368/0.9732, allocations: 44 kB / 0.5965 GB, free: 2.582 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.9744, allocations: 139.7 kB / 0.5966 GB, free: 2.445 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/0.9747, allocations: 133.7 kB / 0.5967 GB, free: 2.316 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/0.9748, allocations: 56 kB / 0.5968 GB, free: 2.262 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003353/0.9782, allocations: 2.17 MB / 0.5989 GB, free: 92 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.9782, allocations: 0 / 0.5989 GB, free: 92 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.00537/0.9836, allocations: 2.066 MB / 0.6009 GB, free: 14.02 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.0004468/0.984, allocations: 186 kB / 0.6011 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008974/0.993, allocations: 4.516 MB / 0.6055 GB, free: 9.305 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.993, allocations: 0 / 0.6055 GB, free: 9.305 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002813/0.9958, allocations: 1.478 MB / 0.607 GB, free: 7.816 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003419/0.9992, allocations: 0.676 MB / 0.6076 GB, free: 7.145 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02726/1.026, allocations: 14.07 MB / 0.6213 GB, free: 9.023 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008136/1.035, allocations: 5.32 MB / 0.6265 GB, free: 3.668 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00465/1.039, allocations: 1.824 MB / 0.6283 GB, free: 1.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006807/1.04, allocations: 236.5 kB / 0.6286 GB, free: 1.609 MB / 494.1 MB Notification: Performance of SimCode: time 8.72e-07/1.04, allocations: 0 / 0.6286 GB, free: 1.609 MB / 494.1 MB Notification: Performance of Templates: time 0.2535/1.293, allocations: 36.11 MB / 0.6638 GB, free: 171.8 MB / 0.5138 GB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.427141749998555]