Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.00137/0.00137, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001749/0.001749, allocations: 214.6 kB / 23.73 MB, free: 4.16 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.455/1.455, allocations: 230.5 MB / 257.4 MB, free: 7.777 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002625/0.002625, allocations: 59.91 kB / 377.7 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2682, allocations: 53.41 MB / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01204/0.2803, allocations: 8.077 MB / 439.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006403/0.2867, allocations: 2.987 MB / 442.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.2879, allocations: 55.62 kB / 442.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.2898, allocations: 0.6484 MB / 442.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002419/0.2922, allocations: 0.769 MB / 443.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008304/0.2931, allocations: 315.5 kB / 444 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002631/0.2957, allocations: 2.136 MB / 446.1 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.2969, allocations: 0.8013 MB / 446.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.2983, allocations: 0.9615 MB / 447.9 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.3001, allocations: 1.089 MB / 449 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000411/0.3006, allocations: 236 kB / 449.2 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006947/0.3013, allocations: 327.8 kB / 449.5 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007767/0.302, allocations: 0.6816 MB / 450.2 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.3032, allocations: 0.8868 MB / 451.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00368/0.3068, allocations: 3.168 MB / 454.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3069, allocations: 0 / 454.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3069, allocations: 0 / 454.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.817e-05/0.3069, allocations: 4 kB / 454.3 MB, free: 15.19 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.004693/0.3116, allocations: 2.285 MB / 456.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.3117, allocations: 15.98 kB / 456.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003091/0.312, allocations: 228.4 kB / 456.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006923/0.3127, allocations: 247.5 kB / 457 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002259/0.3149, allocations: 1.172 MB / 458.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.315, allocations: 123.2 kB / 458.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002509/0.3153, allocations: 156 kB / 458.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003482/0.3188, allocations: 2.104 MB / 460.6 MB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.195e-05/0.3188, allocations: 11.94 kB / 460.6 MB, free: 8.699 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.319, allocations: 63.98 kB / 460.7 MB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.611e-05/0.3191, allocations: 78.94 kB / 460.7 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003009/0.3221, allocations: 1.671 MB / 462.4 MB, free: 6.883 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01008/0.3322, allocations: 6.411 MB / 468.8 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009256/0.3331, allocations: 454.7 kB / 469.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/0.3336, allocations: 270 kB / 469.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001852/0.3337, allocations: 44.39 kB / 469.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.3338, allocations: 39 kB / 469.6 MB, free: 15.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.274e-06/0.3338, allocations: 0 / 469.6 MB, free: 15.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.006897/0.3407, allocations: 2.911 MB / 472.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.3407, allocations: 60.06 kB / 472.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/0.3431, allocations: 1.686 MB / 474.3 MB, free: 10.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.894e-05/0.3431, allocations: 37.7 kB / 474.3 MB, free: 10.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008323/0.344, allocations: 1.064 MB / 475.4 MB, free: 9.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.3442, allocations: 254 kB / 475.6 MB, free: 9.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004244/0.3446, allocations: 319.3 kB / 475.9 MB, free: 8.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3447, allocations: 305.1 kB / 476.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009334/0.3457, allocations: 0.5231 MB / 476.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.3474, allocations: 1.45 MB / 478.2 MB, free: 6.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002838/0.3502, allocations: 2.132 MB / 480.3 MB, free: 3.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/0.3502, allocations: 12 kB / 480.3 MB, free: 3.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003931/0.3541, allocations: 2.171 MB / 482.5 MB, free: 1.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.3542, allocations: 16 kB / 482.5 MB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.135e-05/0.3542, allocations: 40 kB / 482.6 MB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005827/0.3548, allocations: 222.4 kB / 482.8 MB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.356, allocations: 403.4 kB / 483.2 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/0.3579, allocations: 1.736 MB / 484.9 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.3592, allocations: 139.7 kB / 485.1 MB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.3593, allocations: 92 kB / 485.1 MB, free: 14.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009254/0.3603, allocations: 0.5945 MB / 485.7 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/0.3605, allocations: 159 kB / 485.9 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/0.3626, allocations: 1.096 MB / 487 MB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.3626, allocations: 8 kB / 487 MB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3626, allocations: 0 / 487 MB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.3626, allocations: 4.125 kB / 487 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004809/0.3675, allocations: 2.571 MB / 489.6 MB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.3675, allocations: 4 kB / 489.6 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/0.368, allocations: 115.8 kB / 489.7 MB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004494/0.3684, allocations: 166.4 kB / 489.8 MB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-05/0.3685, allocations: 12 kB / 489.9 MB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.3702, allocations: 1.678 MB / 491.5 MB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.3702, allocations: 7.969 kB / 491.5 MB, free: 8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002826/0.373, allocations: 1.654 MB / 493.2 MB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007154/0.3738, allocations: 230.9 kB / 493.4 MB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/0.3739, allocations: 15.94 kB / 493.4 MB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006785/0.3746, allocations: 51.94 kB / 493.5 MB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.3748, allocations: 48.34 kB / 493.5 MB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.3748, allocations: 20.06 kB / 493.6 MB, free: 5.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001709/0.3765, allocations: 1.083 MB / 494.6 MB, free: 4.859 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3765, allocations: 0 / 494.6 MB, free: 4.859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00142/0.3779, allocations: 363.9 kB / 495 MB, free: 4.504 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (speed.phi) * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003371/0.3813, allocations: 2.252 MB / 497.2 MB, free: 2.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002844/0.3841, allocations: 1.417 MB / 498.7 MB, free: 0.7812 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3841, allocations: 4.188 kB / 498.7 MB, free: 0.7773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.3853, allocations: 0.5731 MB / 499.2 MB, free: 192 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.3872, allocations: 421.1 kB / 499.7 MB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02341/0.4106, allocations: 14.98 MB / 0.5026 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.4117, allocations: 0.8858 MB / 0.5034 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001049/0.4127, allocations: 358 kB / 0.5038 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009215/0.4137, allocations: 0.6399 MB / 0.5044 GB, free: 13.77 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4137, allocations: 0 / 0.5044 GB, free: 13.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2656/0.6793, allocations: 38.01 MB / 0.5415 GB, free: 104.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.66, allocations: 0 / 0.5415 GB, free: 104.5 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv --start-time 0 --stop-time 0.32 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv failed! Error: Could not read variable toSpacePhasor.y[1] in file Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv. Warning: Get data of variable toSpacePhasor.y[1] from file Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv failed! Error: Could not read variable toSpacePhasor.y[2] in file Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv. Warning: Get data of variable toSpacePhasor.y[2] from file Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv failed! Error: Could not read variable hallSensor.y in file Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv. Warning: Get data of variable hallSensor.y from file Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.212463116273284]