Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000515/0.000515, allocations: 0 / 0, free: 0 / 0 " [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.0005448/0.0005448, allocations: 0 / 0, free: 0 / 0 " [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 0.2871/0.2871, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.936e-06/2.936e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.789e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.02489/0.02491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01418/0.03909, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.003166/0.04225, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.005681/0.04793, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.006262/0.0542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002741/0.05694, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.006435/0.06337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.006364/0.06974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.00688/0.07662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.005444/0.08206, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.001047/0.08311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.002068/0.08518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.002312/0.08749, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.00369/0.09118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.01228/0.1035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0006788/0.1041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 7.574e-06/0.1041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 5.627e-05/0.1042, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.02277/0.127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0002625/0.1272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003105/0.1303, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006963/0.1373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/0.149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004576/0.1495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.001454/0.1509, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.02146/0.1724, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0002159/0.1726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001124/0.1737, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004121/0.1741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/0.1904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04927/0.2397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.006056/0.2457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.004854/0.2506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0003953/0.251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001162/0.2511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=115): time 0.000242/0.2513, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=134): time 0.04862/0.3, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.3001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/0.3101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0006671/0.3108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.002172/0.313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0009813/0.314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.002242/0.3162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.000209/0.3164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.004331/0.3207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.005126/0.3259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/0.3359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.577e-05/0.336, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=210) (initialization): time 0.01638/0.3523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 8.676e-05/0.3524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.863e-05/0.3525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.003114/0.3556, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003461/0.3591, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01977/0.3788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002874/0.3817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005589/0.3823, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 182 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004723/0.387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002036/0.389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/0.4028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.125e-05/0.4028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.933e-05/0.4029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.411e-05/0.4029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03/0.4329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.19e-05/0.4329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002398/0.4353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.00388/0.4392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005772/0.4398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02287/0.4627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.407e-05/0.4627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01822/0.4809, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.004705/0.4856, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001461/0.4871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002406/0.4895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001886/0.4914, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004522/0.4918, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.006769/0.4986, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 9.286e-05/0.4987, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.006863/0.5055, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * 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 (116): * Single equations (assignments): 111 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (1,6,100.0%), (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.02065/0.5262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.01116/0.5374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.382e-05/0.5374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.006689/0.5441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008721/0.5528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1071/0.6599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006131/0.666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.00315/0.6692, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007042/0.6762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.002557/0.6788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.03591/0.7147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.01501/0.7297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.05486/0.7846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 1.238e-05/0.7846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 2.261e-05/0.7846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.4 MB unzipped): time 0.0002769/0.7849, allocations: 0 / 0, free: 0 / 0 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 659] simulate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,startTime=0,stopTime=30,tolerance=1e-06,numberOfIntervals=30000,outputFormat="mat",variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=30 -tolerance=1e-06 -stepSize=0.001 -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat",resimulateExecutable="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches simulate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,startTime=0,stopTime=30,tolerance=1e-06,numberOfIntervals=30000,outputFormat="mat",variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=30 -tolerance=1e-06 -stepSize=0.001 -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_me_res.mat -s fmi3:me:daskr",resimulateExecutable="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator.fmu") [Timeout 240] "" [Timeout remaining time 239] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_me_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_me.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches simulate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,startTime=0,stopTime=30,tolerance=1e-06,numberOfIntervals=30000,outputFormat="mat",variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=30 -tolerance=1e-06 -stepSize=0.001 -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_cs_res.mat -s fmi3:cs",resimulateExecutable="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator.fmu") [Timeout 240] "" [Timeout remaining time 238] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_cs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_cs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 6.5457718189572915]