Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.001252/0.001252, allocations: 83.58 kB / 20.92 MB, free: 3.625 MB / 18.57 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.001137/0.001137, allocations: 161 kB / 24.23 MB, free: 332 kB / 18.57 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.037/1.037, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2759/0.2759, allocations: 29.42 MB / 290.4 MB, free: 2.41 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) 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(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.[0-9,]+..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.[0-9,]+..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 368.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.627e-05, allocations: 9.125 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.004793/0.00481, allocations: 5.382 MB / 374.2 MB, free: 5.875 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004251/0.00906, allocations: 3.805 MB / 378 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003417/0.009402, allocations: 19.81 kB / 378.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006739/0.01614, allocations: 5.45 MB / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004775/0.01662, allocations: 342 kB / 383.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.017, allocations: 223.6 kB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002144/0.01915, allocations: 1.664 MB / 385.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000656/0.0198, allocations: 0.5419 MB / 386.3 MB, free: 9.812 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006248/0.02043, allocations: 0.5026 MB / 386.8 MB, free: 9.309 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000521/0.02095, allocations: 394.9 kB / 387.2 MB, free: 8.922 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.972e-05/0.02102, allocations: 56 kB / 387.2 MB, free: 8.867 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.02118, allocations: 71.92 kB / 387.3 MB, free: 8.797 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.02137, allocations: 275.3 kB / 387.6 MB, free: 8.527 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.02156, allocations: 219.5 kB / 387.8 MB, free: 8.312 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006214/0.02218, allocations: 0.51 MB / 388.3 MB, free: 7.801 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.02218, allocations: 0 / 388.3 MB, free: 7.801 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.02218, allocations: 4 kB / 388.3 MB, free: 7.797 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.02219, allocations: 0 / 388.3 MB, free: 7.797 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001227/0.02342, allocations: 0.9178 MB / 389.2 MB, free: 6.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.02346, allocations: 15.98 kB / 389.2 MB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/0.02373, allocations: 100.6 kB / 389.3 MB, free: 6.727 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006784/0.0244, allocations: 0.5097 MB / 389.8 MB, free: 6.191 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.02443, allocations: 37.36 kB / 389.9 MB, free: 6.152 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.044e-05/0.02449, allocations: 51.88 kB / 389.9 MB, free: 6.102 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005377/0.02503, allocations: 449.2 kB / 390.4 MB, free: 5.613 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.02505, allocations: 7.922 kB / 390.4 MB, free: 5.605 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.02508, allocations: 19.98 kB / 390.4 MB, free: 5.586 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.198e-05/0.02517, allocations: 52.97 kB / 390.4 MB, free: 5.535 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.02548, allocations: 201.7 kB / 390.6 MB, free: 5.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.02744, allocations: 2.519 MB / 393.1 MB, free: 2.688 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.0277, allocations: 182.2 kB / 393.3 MB, free: 2.484 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.656e-05/0.02779, allocations: 67.41 kB / 393.4 MB, free: 2.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.02782, allocations: 8 kB / 393.4 MB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.02785, allocations: 41.33 kB / 393.4 MB, free: 2.352 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.064e-06/0.02785, allocations: 0 / 393.4 MB, free: 2.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001588/0.02943, allocations: 0.9403 MB / 394.4 MB, free: 1.363 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.02947, allocations: 81.11 kB / 394.5 MB, free: 1.266 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.02976, allocations: 414.6 kB / 394.9 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.02978, allocations: 29.7 kB / 394.9 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.02995, allocations: 362.9 kB / 395.2 MB, free: 456 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7e-05/0.03002, allocations: 123 kB / 395.4 MB, free: 332 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.251e-05/0.0301, allocations: 87.8 kB / 395.5 MB, free: 236 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.03024, allocations: 0.5274 MB / 396 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.34e-05/0.03033, allocations: 56.95 kB / 396 MB, free: 15.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.03051, allocations: 266.3 kB / 396.3 MB, free: 15.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.03081, allocations: 353.1 kB / 396.6 MB, free: 14.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.03081, allocations: 3.938 kB / 396.6 MB, free: 14.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005672/0.03138, allocations: 456.5 kB / 397.1 MB, free: 14.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.03139, allocations: 6.344 kB / 397.1 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.0314, allocations: 8 kB / 397.1 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003044/0.03171, allocations: 127.5 kB / 397.2 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.03189, allocations: 71.84 kB / 397.3 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.03398, allocations: 3.828 MB / 401.1 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.03412, allocations: 19.88 kB / 401.1 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.03414, allocations: 20 kB / 401.2 MB, free: 10.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.03431, allocations: 188.4 kB / 401.3 MB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.03436, allocations: 55.7 kB / 401.4 MB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.03483, allocations: 341.4 kB / 401.7 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.03484, allocations: 4 kB / 401.7 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003322/0.03517, allocations: 277.5 kB / 402 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.03517, allocations: 0 / 402 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008851/0.03606, allocations: 0.7891 MB / 402.8 MB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.03606, allocations: 0 / 402.8 MB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.03619, allocations: 47.91 kB / 402.8 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001752/0.03636, allocations: 71.84 kB / 402.9 MB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.03638, allocations: 8 kB / 402.9 MB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.03748, allocations: 2.014 MB / 404.9 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.03749, allocations: 3.938 kB / 404.9 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/0.038, allocations: 0.4974 MB / 405.4 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.722e-05/0.03808, allocations: 59.69 kB / 405.5 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.03811, allocations: 8 kB / 405.5 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.031e-05/0.0382, allocations: 8 kB / 405.5 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.03826, allocations: 31.83 kB / 405.5 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.03828, allocations: 8 kB / 405.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001813/0.03846, allocations: 271.1 kB / 405.8 MB, free: 5.137 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03846, allocations: 0 / 405.8 MB, free: 5.137 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004107/0.03887, allocations: 120 kB / 405.9 MB, free: 5.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001162/0.03898, allocations: 103.2 kB / 406 MB, free: 4.906 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006636/0.03965, allocations: 0.6171 MB / 406.7 MB, free: 4.254 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.03965, allocations: 0 / 406.7 MB, free: 4.254 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.0399, allocations: 305.2 kB / 407 MB, free: 3.934 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.04031, allocations: 101.2 kB / 407 MB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.04216, allocations: 1.005 MB / 408.1 MB, free: 2.789 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.04231, allocations: 169.2 kB / 408.2 MB, free: 2.602 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001518/0.04246, allocations: 71.34 kB / 408.3 MB, free: 2.531 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.723e-05/0.04253, allocations: 32.5 kB / 408.3 MB, free: 2.496 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.04253, allocations: 0 / 408.3 MB, free: 2.496 MB / 378.7 MB Notification: Performance of Templates: time 0.007928/0.05046, allocations: 5.254 MB / 413.6 MB, free: 13.35 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.470366267953068]